guard_orientation
Orient coding agents in an unfamiliar checkout before the first edit by returning a bounded file tree, language counts, and conventions files to read first.
Instructions
Bounded repository digest: tree, languages, and conventions files.
Use it before the first edit in an unfamiliar checkout, so the next read
starts from CLAUDE.md, AGENTS.md, CONVENTIONS.md, README.md, or README
when those files exist. It takes no parameters. The scan starts at the git
worktree root when one is found, otherwise the working directory. The tree
is capped (12 entries, 8 children, depth 3, 4000 files). It returns
PC orientation, the capped tree, up to six language counts by extension,
the conventions files found, and a Nudge. Side effects: none. It only
reads the filesystem. It does not create .agent-guard/ and does not use
the network.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "guard_orientation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |