Skip to content
Agentmart
Submit a tool

agent-agents-md

Manages `AGENTS.md` and agent-rule files.

Skill by andresgongora

IndexedMIT
Write a review

Chalk Labs

Need help deploying agent-agents-md?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/andresgongora-agent-agents-md

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manages `AGENTS.md` and agent-rule files. Load when creating, changing, auditing, or updating repository agent instructions after rule or boundary changes. Trigger: `AGENTS.md`, agent rule, agent policy file, repo/global agent instructions.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-agents-md

What's inside

Skill name
agent-agents-md
Description
Manages `AGENTS.md` and agent-rule files. Load when creating, changing, auditing, or updating repository agent instructions after rule or boundary changes. Trigger: `AGENTS.md`, agent rule, agent policy file, repo/global agent instructions.
License
MIT
Instructions
94 lines in SKILL.md · view on GitHub

Files (3)

  • AGENTS.template.md
  • README.md
  • SKILL.md

SKILL.md (first lines)

## Admission gate

`AGENTS.md` loads every session in its scope. Every line is a permanent tax on every future session. Admission bar is higher than any other artifact.

Any ONE of these is sufficient to reject. Do not add silently; state which applied.

- **One-off instruction**: belongs in the current prompt, not a durable file.
- **Task-scoped note / handoff**: write instead into the repo's progress-notes location (e.g. `.agent/progress/`).
- **Design decision / architecture / ADR**: write instead into the repo's durable-notes location (e.g. `.agent/notes/`).
- **Procedure with steps**: belongs in a skill. `AGENTS.md` keeps only the trigger + pointer.
- **Wrong scope**: repo fact in a cross-project file, or cross-project habit in a repo file.
- **Already implied**: a parent or broader rule in the chain covers it.
- **Duplicate / reword of a working rule**: merge into the stronger wording or leave alone.
- **Vague slogan**: "be careful", "think harder". Unactionable.
- **Soon-stale**: describes a moving target.
- **Unverifiable ref**: names a skill, tool, or path that does not exist.

Borderline on a soft criterion (vague slogan, soon-stale) and the user insists: add, say which criterion it strains. Hard criteria — wrong scope, unverifiable ref, already implied, duplicate — never yield to insistence; fix the underlying problem first.

## Rules

### General

- `AGENTS.md` routes and constrains. It never stores low-signal procedures, reference material, or explanations.
- Long procedure → move body to a skill or write a doc, keep one trigger line here. Creating or editing that other artifact is outside this skill: report the need and hand off or ask first. Never author it silently.
- Rule needs a "why" to be obeyed correctly → one clause, inline. Otherwise the why goes in a doc.

### Information to store

`AGENTS.md` may store information or facts besides routing and instructions. All must hold:

- **Near-certain need**: agents likely to benefit from this fact if touching the repo.
- **Not derivable**: not obtainable faster by glob/read than by reading the line.
- **Stable**: likely unmutable long-term, like general repository information, goals, or general structure.

Fails any check: put it in agent docs, not `AGENTS.md`.

Orientation facts (the `## Info` block) update only on: init (creating the file), user asks to refresh, or repo shape/entry-points/boundaries just moved. No other trigger re-probes them — re-exploring "to keep fresh" costs more than the section saves.

### Scope selection

| Rule type | Scope |
|---|---|
| Personal cross-project habit | User-global `AGENTS.md` |
| Repo workflow / style / tool | Project `AGENTS.md` |
| Subdir-only constraint | Nested `AGENTS.md` in that subdir |

Ambiguous and the wrong pick changes blast radius: ask one short question, never guess. No file exists at the warranted scope: create it (see Creation).

### Nested chain

`AGENTS.md` files combine while traversing upward from the current directory to system-level rules. Instructions can conflict; there is no runtime "nearest wins" mechanism.

- Read the whole chain before adding a new rule.
- Parent already covers it: don't duplicate. Parent is weaker: child may use stronger wording.
- Duplicate meaning across the chain: keep the clearer one, delete the other, inform user.
- New rule must not silently widen an existing rule's scope.
- Child rule conflicts with a parent rule: warn, don't silently override.
- Harmful rule requested: say so plainly, offer the safer version.

## Workflow

### Creation

Create `AGENTS.md` at a scope only if all hold:

- No `AGENTS.md` in the chain already covers this scope's routing needs.
- At least one durable, non-placeholder fact or rule exists to put in it now.
- Scope is unambiguous (see Scope selection).

Steps:

1. Copy `AGENTS.template.md`. Delete the header comment and every section the project does not need; empty or placeholder-only section is worse than no section.
2. Fill remaining sections with project-specific facts only: purpose, top-level dirs, entry points, boundaries, build/test reality if non-obvious. Do not invent facts; unknown value: ask or omit the line. `## Info` is mandatory at project scope — fill it before anything else.

### Update

Applies whenever an existing `AGENTS.md` changes, at any scope.

1. Read the chain (target + parents).
2. Extract durable *intent* from the request. Paste user wording only when the wording itself matters.
3. Run admission checklist. Reject or relocate before writing.
4. Pick scope (see Scope selection).
5. Write dense. Existing neighbor bullet covers the idea: merge into it instead of adding a line.
6. Verify every skill / tool / path the rule names actually resolves in the scope that loads this file. Dead ref: fix or drop the rule.
7. Re-read the whole file. Trim duplicates, weak lines, bloated examples introduced earlier.
8. Report: changed, rejected, relocated, why.

## Guardrails

- Only touch files named `AGENTS.md`. Other artifacts: hand off.
- File grows past what its readers can hold in head: split or trim, do not append.

From andresgongora/agent-config, MIT.

More from andresgongora/agent-config

Signals

Stars
0
Forks
1
Open issues
0
Last commit (this folder)
Aug 30, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from andresgongora

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get agent-agents-md running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying agent-agents-md?

CallGet help
Cite this page

agent-agents-md skill. Agent Mart. https://agentmart.dev/skills/andresgongora-agent-agents-md (last updated 2026-10-24)