agentleFS
patalbansishashankpatalbansishashank/hyponoia/docs/AGENTS.md

hyponoia

AGENTS.md1 starsChanged 4 months agoMITView on GitHub

Which coding agents install configures, what it writes, and where it deliberately does nothing. install configures 43 client surfaces: 37 detected automatically and 6 conditional or explicit. “Conditional” means the installer writes only when the documented platform or an explicit, already-existing config path proves the target is active. It never flips experimental feature flags, enables plugins, YOLO modes, global permission bypasses, or third-party instruction trust. Where a client has a documented custom-agent format, the installer creates three exact-owned definitions from…

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every answer carries project and project_source (supplied, derived from working directory <path>, or the only indexed project), so an agent …

    line 24
  2. Very specific:

    Every direct tier batches check_index_coverage for its evidence paths and reads flagged ranges or skipped/excluded files directly.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent surfaces

Which coding agents install configures, what it writes, and where it deliberately does nothing.

← README

install configures 43 client surfaces: 37 detected automatically and 6 conditional or explicit. “Conditional” means the installer writes only when the documented platform or an explicit, already-existing config path proves the target is active. It never flips experimental feature flags, enables plugins, YOLO modes, global permission bypasses, or third-party instruction trust.

Where a client has a documented custom-agent format, the installer creates three exact-owned definitions from one canonical contract:

  • Scout (Tier 1) — about 3–4 narrow calls for fast positive, provisional discovery; no absence, exhaustive-impact, or dead-code claims.
  • Verify (Tier 2, default) — task-directed graph evidence, exact source checks, path coverage for every cited file, and scope coverage before negative claims.
  • Auditor (Tier 3) — bounded scope, current index generation, complete relevant pagination, broader relationship checks, and explicit unresolved limitations.

project is optional on every tool but delete_project: the server derives it from the working directory it was started in — the client's own, since the client spawns it — falling back to the single indexed project when there is exactly one, and refusing with the candidates listed when there are several. Every answer carries project and project_source (supplied, derived from working directory <path>, or the only indexed project), so an agent can see which project answered. An explicit argument always wins. See TOOLS.md.

Every direct tier batches check_index_coverage for its evidence paths and reads flagged ranges or skipped/excluded files directly. A clean coverage result means only “no recorded gap,” never proof of completeness. Clients without safe child MCP access receive the same three tiers as parent-handoff agents; the parent must supply project, generation, pagination state, graph evidence, and coverage results. Updates migrate only byte-identical prior Verify definitions and never overwrite user-modified agents.

AgentActivationMCP configDurable context / augmentation
Claude CodeDetected~/.claude.jsonSkill + three exact-tool graph agents; SessionStart, SubagentStart, non-blocking PreToolUse for Grep/Glob, and post-Read coverage
Codex CLIDetected$CODEX_HOME/config.tomlAGENTS.md, skill, three read-only agents; SessionStart + SubagentStart
Gemini CLIDetected.gemini/settings.jsonGEMINI.md, three explicit read/graph-tool subagents; BeforeTool, AfterTool read_file coverage, and SessionStart
ZedDetectedplatform settings.json (JSONC)AGENTS.md + shared skill
OpenCodeDetected$OPENCODE_CONFIG or resolved global configAGENTS.md, skill, three deny-by-default read-only agents
AntigravityDetected.gemini/config/mcp_config.json.gemini/GEMINI.md
AiderDetected—CONVENTIONS.md via .aider.conf.yml
KiloCodeDetected.config/kilo/kilo.jsoncRule + three graph-tool subagents with deny-by-default permissions
VS CodeDetectedplatform Code/User/mcp.json~/.copilot/skills, three read-only agents, sessionStart + subagentStart
CursorDetected.cursor/mcp.jsonSkill + three read-only parent-handoff agents; context hooks withheld because session injection races and readonly blocks MCP
WindsurfDetected~/.codeium/windsurf/mcp_config.jsonAlways-on global_rules.md
Augment / AuggieDetected~/.augment/settings.jsonRule, three read-only handoff subagents, SessionStart + post-view coverage
OpenClawDetected$OPENCLAW_CONFIG_PATH or state openclaw.jsonActive-workspace AGENTS.md + TOOLS.md; compaction reinjection
KiroDetected$KIRO_HOME/settings/mcp.jsonSteering, skill, three JSON agents with isolated Scout/Analysis-profile MCP and explicit graph-tool selectors (includeMcpJson: false)
JunieDetected.junie/mcp/mcp.jsonSkill + three graph subagents for EAP-capable builds; Scout and Analysis server aliases hard-limit the tier tool surfaces; no ineffective EAP SessionStart hook
HermesDetected$HERMES_HOME/config.yamlSkill + fail-open pre_llm_call context augmentation
OpenHandsDetected.openhands/mcp.jsonShared .agents/skills/hyponoia/SKILL.md
ClineDetected~/.cline/mcp.json + ${CLINE_DATA_DIR:-~/.cline/data}/settings/cline_mcp_settings.jsonRule + skill; automatic file hooks withheld because they auto-activate and their output is not reliably consumed; child agents cannot use MCP
WarpDetected, skill onlyUI, Warp Drive, or per invocation (manual)Shared ~/.agents/skills/hyponoia/SKILL.md
Qwen CodeDetected.qwen/settings.jsonQWEN.md, skill, three explicit read/graph-tool agents; SessionStart, SubagentStart, and post-ReadFile coverage
GitHub Copilot CLIDetected$COPILOT_HOME/mcp-config.jsonInstructions, skill, three read-only agents; sessionStart + subagentStart
Factory DroidDetected.factory/mcp.jsonAGENTS.md, skill, three droids with exact per-tier graph-tool lists (without additive whole-server exposure); SessionStart + post-Read coverage on macOS/Linux, withheld on Windows
CrushDetected.config/crush/crush.jsonManaged context path with explicit parent-to-child handoff
GooseDetected.config/goose/config.yaml.goosehints
Mistral VibeDetected$VIBE_HOME/config.tomlAGENTS.md, skill, and three matched agent/prompt pairs with explicit read-only graph-tool allowlists
Qoder CLIDetected~/.qoder/settings.jsonSkill, three directly MCP-attached agents with named-server scoping and exact per-tier graph-tool lists; SessionStart, SubagentStart, and post-Read coverage, including documented PowerShell execution on Windows
Kimi Code CLIDetected$KIMI_CODE_HOME/mcp.json (default ~/.kimi-code)Same-root AGENTS.md + skill; fail-open UserPromptSubmit hook in config.toml
GitLab Duo CLIDetected$GLAB_CONFIG_DIR/duo/mcp.json or platform fallbackFail-open user SessionStart on macOS/Linux; hook withheld on Windows; no experimental global skill enablement
Rovo Dev CLIDetectedconfigured override or ~/.rovodev/mcp.jsonGlobal AGENTS.md, skill + three read-only handoff subagents; no undocumented hook
AmpDetected~/.config/agents/skills/hyponoia/mcp.jsonColocated skill + ~/.config/amp/AGENTS.md; no plugin
Devin CLI / LocalDetected~/.config/devin/config.json (platform app-data path on Windows)Same-root AGENTS.md + skill; macOS/Linux UserPromptSubmit + PostCompaction, and SessionStart only when Claude does not already provide it; hooks withheld on Windows
TabnineDetected~/.tabnine/mcp_servers.jsonMCP only; no experimental/YOLO setting
Continue / cnConditionalExisting ~/.continue/config.yaml or $HYP_CONTINUE_CONFIG_PATHMCP only
Visual StudioConditional, Windows~/.mcp.jsonMCP only
TRAEConditionalExisting $HYP_TRAE_CONFIG_PATHMCP only
Roo CodeConditionalExisting $HYP_ROO_CONFIG_PATHMCP only
Amazon Q Developer IDEDetected~/.aws/amazonq/default.json (preserves an existing agents/default.json or legacy mcp.json)MCP only
CodeBuddy Code CLIDetected~/.codebuddy/.mcp.json (preserves an active deprecated/legacy file)CODEBUDDY.md, skill, three read-only graph agents; beta hooks are not auto-installed
IBM Bob ShellDetected by bob~/.bob/mcp_settings.jsonShared rule; no invented hook or agent
PochiDetected~/.pochi/config.jsonc (mcp)README.pochi.md, skill, and three readFile-only parent-handoff agents
PiDetected—~/.pi/agent/AGENTS.md + skill; MCP/subagents require an explicit reviewed extension
IBM Bob IDEConditionalExisting ~/.bob/mcp.jsonShared rule + IDE skill; no invented hook or agent
Sourcegraph CodyExplicit opt-inExisting $HYP_CODY_CONFIG_PATHMCP only

Sessions, compaction, and subagents

Hooks installed by this project are fail-open and context-only. Claude Code's PreToolUse observes Grep/Glob and injects matching graph symbols as additionalContext; PostToolUse on Read adds targeted coverage context when the graph could not fully parse or index that file. It never denies or replaces the requested tool call.

Claude Code, Codex CLI, Qwen Code, GitHub Copilot CLI, and VS Code's Copilot runtime receive paired session/subagent context where the vendor exposes a documented context-output contract. Codex users must review and trust installed hooks through /hooks; changing a hook definition changes its trust hash, so an update can require re-trust. Qoder uses SessionStart, SubagentStart, and post-Read coverage, including its documented PowerShell executor on Windows. Kimi uses UserPromptSubmit, while Hermes uses pre_llm_call; both retain their documented Windows execution paths. Devin installs UserPromptSubmit and PostCompaction on macOS/Linux and adds SessionStart only when Claude's equivalent managed hook is not present. GitLab Duo gets a narrowly scoped macOS/Linux user SessionStart entry on its experimental hook surface. GitLab Duo, Devin, and Factory hooks are withheld on Windows because those vendors do not document a deterministic shell/executor contract there. Gemini CLI, Factory Droid, and Augment also add documented post-read/view coverage context but expose no equivalent documented child-start context.

For runtimes without a stable context-producing lifecycle event, durable files carry the contract across fresh sessions and compaction: verify the graph project and index freshness, query structural facts in the parent, then pass the project, qualified symbols, paths, and call-chain evidence in every delegated task. Claude, Codex, Gemini, Kiro, Qwen, Copilot, CodeBuddy, OpenCode, Kilo, Vibe, Qoder, Junie, and Factory receive Scout, Verify, and Auditor graph profiles. Kiro embeds this MCP server with --tool-profile scout for Scout and --tool-profile analysis for Verify/Auditor. Junie registers equivalent named server aliases because its subagent schema filters by server rather than by individual tool. Both process profiles use positive allowlists: Scout exposes 7 fast inspection tools, Analysis exposes 13 — the same 7 plus ask, query_graph, search_code, get_graph_schema, detect_changes, and search_memory — and future or mutating tools remain unavailable until explicitly reviewed. ask is on Analysis and not on Scout because it can legitimately answer "unavailable" (its index is opt-in, see ASK.md) and Scout promises a surface where every tool answers. The server's allowlist and the generated profiles' tool lists are rendered from one table (src/mcp/tool_surface.h), so a tool cannot be permitted by one end and never requested by the other. That table is the whole surface, not only the tiers: a row also carries the tool's client-visible annotation hints, any output shape it promises, whether it is live or a published-but-unimplemented signature, and any legacy name dispatch answers to. A compile-time assertion pairs its row count against the tool registry, so a tool added to one and not the other does not build. If either Junie alias collides with user configuration, the installer preserves it and installs parent-handoff profiles instead. Qoder combines its documented named-server selection with exact tier-specific MCP tool IDs. Factory uses exact registered MCP tool IDs without its additive mcpServers field, which would expose the whole server. Codex, Kilo, Vibe, and other capable formats likewise enumerate the narrowest supported tool set. Rovo, Cursor, Augment, Pochi, and Cline use parent handoff where direct child MCP is unavailable or unsafe; Pochi is limited to readFile, and Cline child agents cannot use MCP.

Cline's file hooks auto-activate when present, and current Cline does not reliably consume their context output, so automatic adapters are withheld and older owned adapters are cleaned up. CodeBuddy's beta, version-gated hooks are not auto-installed. Junie's EAP SessionStart output is documented as ignored, so no context hook is installed. Junie custom agents remain EAP-dependent. Qoder can resolve higher-priority project or plugin agents before user agents with the same name; reload the client after installation or profile changes. Cursor context hooks are withheld: session context injection has a known race, subagentStart is control-only, and read-only subagents cannot safely receive MCP access. Rovo has no documented session context-output hook, and Bob documents neither a suitable hook nor a custom-agent surface. Those surfaces are not approximated with invented augmentation. Kimi plugins, Amp plugins, and GitLab experimental global skills remain opt-in.

OpenClaw reinjects the Codebase Knowledge Graph (Hyponoia) AGENTS section after compaction and places the same guidance in TOOLS.md, the bootstrap files inherited by its subagents. Automatic augmentation covers the active/default workspace. Separate agents.list[].workspace directories require making that workspace active for installation or copying the managed block there.

The installed Claude shim is named hyp-code-discovery-gate for backward compatibility; despite the legacy name, it never gates or blocks.

Manual or UI-managed integrations

These are intentionally not counted as automatic installs: Qodo MCP is added through its UI and may be governed by enterprise allowlists; Warp MCP is managed through Warp Drive/UI or per invocation (only the shared skill is automatic); JetBrains AI Assistant / ACP is IDE-managed; GitHub Copilot coding agent, Jules, and CodeRabbit are cloud/repository-managed; Replit exposes a remote/service integration rather than a stable local user-global client; BLACKBOX AI does not document a stable arbitrary user-global MCP/instruction/agent schema; Plandex has no stable global registry safe to mutate; and SWE-agent uses explicit YAML and is no longer a suitable automatic global target.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.