Install
$ agentstack add skill-contextosai-skills-repo-orient ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Repository Orientation
Build the smallest accurate mental model needed for the user's task.
Protocol
- Read applicable
AGENTS.mdfiles and inspectgit status. Treat existing
changes as user work.
- Inventory with
rg --files, bounded by relevant top-level directories.
Identify manifests, lockfiles, build/test config, deployment config, and generated/vendor boundaries.
- Infer the repository shape: application, library, monorepo, service set,
plugin, infrastructure, or hybrid. Verify the inference from manifests.
- Trace one real execution path from an external entry point to its terminal
effect. Follow imports/calls, configuration, persistence, and outbound I/O; do not infer architecture from names alone.
- Trace the requested concern separately. Locate its definition, runtime
wiring, tests, and operational surface. Search symbols and call sites before reading entire large files.
- Identify boundaries that constrain a change: public API, data/schema,
process/service, trust/authorization, transaction, concurrency, and release.
- Stop when the model answers the user's question. Do not exhaustively catalog
unrelated modules.
Evidence discipline
- Cite concrete
path:linereferences for important claims. - Distinguish observed facts from inferences. State what would falsify an
inference when uncertainty matters.
- Treat README and diagrams as orientation leads, then reconcile them with
executable code and configuration.
- Call out stale, duplicated, dead, generated, or bypassed paths.
- If multiple entry points differ materially, map each relevant path rather
than inventing one universal flow.
Output
Use references/repository-map.md. Lead with the answer the user needs, then give the execution path, boundaries, change location, and open questions. Skip sections that add no decision value.
Do not edit the repository unless the user also requests a change.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: contextosai
- Source: contextosai/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.