agentleFS
armstronglarmstrongl/nd/AGENTS.md

nd

AGENTS.md3 starsChanged 8 months agoMITView on GitHub

nd is a Go CLI tool for managing coding agent assets (skills, agents, commands, output styles, rules, context files, plugins, hooks) via symlink deployment. It uses Cobra for the CLI framework, gopkg.in/yaml.v3 for configuration, and Bubble Tea for the TUI. The index below lists all available guide documentation. Read the description column for each row and load only the docs that are relevant to your current task. Load a doc if its description matches the concepts, components, or tasks involved…

  • 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 33,398 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 repository2 other files it gives its agents.

The file

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

3 rules. About 0 are common, 0 are distinctive, and 3 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.

  • 3

    Very specific

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

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

    If docs/solutions/ or .claude/docs/solutions/ are present in the current checkout, use them for documented solutions to past problems …

    line 41
  2. Very specific:

    Do NOT use built-in file search, grep, or codebase indexing: always call run_pipeline first

    line 69
  3. Very specific:

    If you spawn sub-agents or background tasks, pass them the context from run_pipeline rather than letting them search the codebase …

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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

nd is a Go CLI tool for managing coding agent assets (skills, agents, commands, output styles, rules, context files, plugins, hooks) via symlink deployment. It uses Cobra for the CLI framework, gopkg.in/yaml.v3 for configuration, and Bubble Tea for the TUI.

The index below lists all available guide documentation. Read the description column for each row and load only the docs that are relevant to your current task.

How to use this index

Load a doc if its description matches the concepts, components, or tasks involved in your current work. The description field is written as a trigger condition: "Load when [conditions]." If the conditions match your task, load the doc. If they do not, skip it.

If no doc in the index is relevant to your task, proceed without loading any. The absence of a relevant doc is useful signal: it may mean the area you are working in is undocumented. Note this if it affects your ability to complete the task accurately.

Reference docs for individual CLI commands are in docs/reference/ and are auto-generated.

<!-- AGENTS-INDEX-START -->
DocWhen to loadLast validatedStatusPaths
AgentsLoad when modifying agent file scanning, agent deployment, or the agents asset type.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**
CommandsLoad when modifying command file scanning, command deployment, or the commands asset type.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**
ConfigurationLoad when modifying config loading, merging, validation, or debugging config file issues.2026-04-05currentinternal/config/**<br>cmd/settings.go<br>cmd/init.go
ContextLoad when modifying context asset scanning, context deployment paths, or context conflict handling.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**<br>internal/deploy/context.go
Create asset sourcesLoad when modifying source scanning, asset type discovery, manifest parsing, or the directory convention.2026-04-05currentinternal/sourcemanager/**<br>internal/asset/**
Export a plugin or marketplaceLoad when modifying the export workflow: plugin packaging, marketplace generation, or export flags.2026-07-05currentcmd/export.go<br>internal/export/**
Get startedLoad when setting up nd for the first time, troubleshooting installation, or onboarding a new user.2026-04-05currentcmd/init.go<br>cmd/source.go<br>cmd/deploy.go
GlossaryLoad when encountering unfamiliar nd terminology or when disambiguating overloaded terms like agent, context, or command.2026-04-03currentinternal/nd/**<br>internal/asset/**
HooksLoad when modifying hook scanning, hook deployment, or settings.json hook registration.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**
How nd worksLoad when modifying symlink creation, deploy logic, scope handling, or debugging broken deployments.2026-04-05currentinternal/deploy/**<br>cmd/deploy.go<br>cmd/remove.go
Interactive TUILoad when modifying the interactive terminal UI: screens, navigation, key bindings, header, or scope switching.2026-07-05currentinternal/tui/**<br>cmd/root.go
Output stylesLoad when modifying output style scanning, deployment, or settings.json registration behavior.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**
PluginsLoad when modifying plugin scanning, export workflow, or plugin.json manifest handling.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/export/**<br>cmd/export.go
Profiles and snapshotsLoad when modifying profile CRUD, snapshot save/restore, profile switching, or pinning logic.2026-04-05currentinternal/profile/**<br>cmd/profile.go<br>cmd/snapshot.go<br>cmd/pin.go<br>cmd/unpin.go
RulesLoad when modifying rule file scanning, rule deployment, or the rules asset type.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**
SkillsLoad when modifying skill directory scanning, skill deployment, or the skills asset type.2026-04-04currentinternal/sourcemanager/scanner.go<br>internal/deploy/**
Team and project configLoad when configuring shared team sources, git URLs, symlink strategy, or project-scoped versus user-scoped config.2026-07-05currentinternal/config/**<br>internal/sourcemanager/**<br>cmd/deploy.go
TroubleshootLoad when debugging nd issues: broken symlinks, missing assets, config errors, profile switching problems, or context file conflicts.2026-04-04currentcmd/doctor.go<br>cmd/sync.go<br>internal/deploy/**
User guideLoad when modifying CLI commands, interactive pickers, JSON output, scripting flags, or sync/doctor workflows.2026-04-05currentcmd/**
<!-- AGENTS-INDEX-END -->

Documented solutions

If docs/solutions/ or .claude/docs/solutions/ are present in the current checkout, use them for documented solutions to past problems (bugs, best practices, workflow patterns), organized by category with YAML frontmatter (module, tags, problem_type). If those paths are absent, proceed without them.

Vexp <!-- vexp v1.2.30 -->

MANDATORY: use run_pipeline: do NOT grep or glob the codebase. vexp returns pre-indexed, graph-ranked context in a single call.

Workflow

  1. run_pipeline with your task description: ALWAYS FIRST (replaces all other tools)
  2. Make targeted changes based on the context returned
  3. run_pipeline again only if you need more context

Available MCP tools

  • run_pipeline: PRIMARY TOOL. Runs capsule + impact + memory in 1 call. Auto-detects intent. Includes file content. Example: run_pipeline({ "task": "fix auth bug" })
  • get_context_capsule: lightweight, for simple questions only
  • get_impact_graph: impact analysis of a specific symbol
  • search_logic_flow: execution paths between functions
  • get_skeleton: compact file structure
  • index_status: indexing status
  • get_session_context: recall observations from sessions
  • search_memory: cross-session search
  • save_observation: persist insights (prefer run_pipeline's observation param)

Agentic search

  • Do NOT use built-in file search, grep, or codebase indexing: always call run_pipeline first
  • If you spawn sub-agents or background tasks, pass them the context from run_pipeline rather than letting them search the codebase independently

Smart features

Intent auto-detection, hybrid ranking, session memory, auto-expanding budget.

Multi-Repo

run_pipeline auto-queries all indexed repos. Use repos: ["alias"] to scope. Run index_status to see aliases.

<!-- /vexp -->

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.