context-inodes
Skill2 starsChanged 32 days agoMITView on GitHub
Builds and walks the content-addressed inode metadata store and derived context tree for filesystem-gated, module-scoped agent context
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/00-core-operating-model.mdcCursor rule
- .cursor/rules/01-plan-approval-gate.mdcCursor rule
- .cursor/rules/02-git-worktree-policy.mdcCursor rule
- .cursor/rules/03-validation-definition-of-done.mdcCursor rule
- .cursor/rules/04-documentation-memory.mdcCursor rule
- accessibility-reviewSkill
- agent-skills-packagingSkill
- autonomy-budgetSkill
- bounded-autonomySkill
- candidate-promotionSkill
- capability-planningSkill
- code-reviewerSkill
- code-structure-cleanupSkill
- compass-evaluatorSkill
- dependency-supply-chainSkill
- docker-cloudSkill
- embedding-providersSkill
- execution-telemetrySkill
- experience-routingSkill
- experience-skill-trainingSkill
- external-knowledge-ingestSkill
- github-integrationSkill
- goose-agent-orchestrationSkill
- harness-gcSkill
- hosted-vector-dbSkill
- implementation-planningSkill
- ios-engineeringSkill
- knowledge-stewardSkill
- linear-integrationSkill
- node-engineeringSkill
- northstar-connected-routineSkill
- notion-integrationSkill
- package-registry-tiSkill
- persistent-role-promotionSkill
- playwright-browser-validationSkill
- postgres-prismaSkill
- procedure-playbooksSkill
- project-overseerSkill
- pull-request-preparationSkill
- python-mlSkill
- react-engineeringSkill
- repository-discoverySkill
- review-fix-loopSkill
- security-audit-proceduresSkill
- security-reviewSkill
- skill-learning-loopSkill
- skill-lifecycleSkill
- source-code-contextSkill
- technology-intelligence-liveSkill
- testing-validationSkill
- worktree-orchestrationSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this Skill when planning or reviewing work that touches module boundaries, when subagent context needs scoping to a module, or when the …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context Inodes & Route Walking (M40)
Use this Skill when planning or reviewing work that touches module boundaries, when subagent context needs scoping to a module, or when the inode store is stale/missing.
Concepts
- Inode —
.agent/inodes/<sha256>.json: structural metadata for one source file (exported interfaces, function signatures with param optionality, I/O types, declared complexity), content-addressed and decoupled from raw source. Inodes never contain file contents. - Context tree —
.agent/context/<domain>/<module>/node.json: derived from the source tree (never hand-authored). Each node carries a summary, child segments, and the inode refs for its subtree. - Route walk — sequential segment-by-segment resolution
(
src/lib→ loadsrc/node.json, thensrc/lib/node.json). Walks return inode pointers; callers page in source explicitly only when needed.
Declared complexity convention
Complexity is declared, never inferred. Annotate with @complexity:
def process(records: list[dict]) -> list[dict]:
"""@complexity O(N)"""/** @complexity O(N) */
export function validateForm(fields: InputProps[]): string[] { ... }Commands
# Build/refresh the inode store + context tree (deterministic)
./scripts/build-context-inodes.sh [--repo-root PATH]
# Fail (exit 1) when indexed sources are stale
./scripts/build-context-inodes.sh --check
# Walk a context route (prints steps + in-scope inode refs)
./scripts/walk-context-route.sh --route orchestrator/review
# Via the launcher
./scripts/northstar context build --repo /path/to/repo
./scripts/northstar context walk --repo /path/to/repo --route src/libGates and invariants
doctor.shfails closed when.agent/inodes/exists but is stale (rebuild hint), and when committed Skill inodes are stale.- The
northstar reviewboundary gate skips with an explicit note when the inode store is absent or stale — it never reviews against untrusted metadata. See Skillcode-reviewerfor the boundary checks. - Subagent manifests carry
working_context(context root, inode refs, scope allow/deny) — see Skillcapability-planning.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

