agentsclimarketplace

Agents md

Skill akunzai/agent-skills/skills/agents-md

Create, audit, and maintain AGENTS.md files in repositories to provide persistent context for agentic assistants. Use when the user mentions AGENTS.md or project memory optimization. Includes optional Claude Code compatibility via CLAUDE.md symbolic linking.From its SKILL.md

Install
npx -y skills add akunzai/agent-skills --skill agents-md

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.2 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

AGENTS.md

Use the open AGENTS.md format reference at https://agents.md/ for baseline conventions: AGENTS.md is plain Markdown with no required fields. Nested files can scope instructions by directory but are optional (root file is sufficient). Repo evidence and explicit user instructions still govern the concrete content you write.

Core Principles (Context Engineering)

Based on Anthropic's "The new rules of context engineering for Claude 5 generation models":

  1. Progressive Disclosure (Index-Driven Entrypoint & Lazy Loading): Keep AGENTS.md lean (< 100 lines). Treat it as a high-level map rather than a manual. Offload detailed SOPs, multi-step workflows, and sub-module guidelines to separate files (@path/to/file) via Lazy Loading / On-demand Loading or dedicated Skills (Context Offloading).
  2. Trust Model Judgment: Avoid defensive micromanagement or redundant negative constraints ("write clean code", "don't make syntax errors"). Rely on model reasoning for general software practices; restrict AGENTS.md to project-specific, non-derivable constraints.
  3. Single Source of Truth (SSOT): Avoid duplicating rules across system prompts, package.json, and AGENTS.md. Cross-reference rather than copy.
  4. Rich References over Text Specs: Prefer pointers to type schemas (@src/types/index.ts) and gold-standard test suites (@tests/feature.spec.ts) over long prose descriptions.

Workflows

1. Discovery & Quality Assessment

Check for file locations:

find . -name "AGENTS.md" -o -name "CLAUDE.md" -o -name ".claude.md" 2>/dev/null | head -50

Evaluate existing files using references/quality-criteria.md rubrics, specifically performing a Micromanagement Audit and checking for Bloat (Slight Bloat / Monolithic SOP Bloat). Output a Quality Report before editing.

Choose the target AGENTS.md explicitly:

  • If exactly one AGENTS.md exists, use it.
  • If multiple files exist, prefer the nearest AGENTS.md that governs the user's requested path or current working directory; otherwise ask before editing.
  • In nested repositories or monorepos, the closest AGENTS.md to the edited files has precedence for that subtree (nested files are optional).
  • If none exists, create the root AGENTS.md unless the user requested a narrower package/module path.

2. Interactive Compatibility Check

Before writing:

  • Check if CLAUDE.md is already a symbolic link to AGENTS.md (e.g., using ls -la CLAUDE.md or checking file properties).
  • If already a symbolic link: Skip the confirmation prompt entirely and automatically proceed under the assumption that compatibility is desired.
  • If CLAUDE.md already exists and is not the intended symlink: Do not replace it blindly. Read it, summarize any unique instructions, propose how to migrate them into AGENTS.md, and ask for explicit approval before moving or replacing the file.
  • Otherwise: Prompt the user: "Do you want to maintain Claude Code compatibility? (This will symlink CLAUDE.md to AGENTS.md and add an explanation block)"

3. Creation & Updates

  • Build/update AGENTS.md following Progressive Disclosure templates in references/templates.md.
  • Apply Progressive Disclosure (Core Principle 1): keep AGENTS.md lean and offload multi-step SOPs to Skills or auxiliary files.
  • If compatibility is active or selected:
    • Create the symlink only when CLAUDE.md is absent or already the intended symlink.
    • If a regular CLAUDE.md exists, preserve its contents until the user approves migration and replacement.
    • Add the concise explanation block (CLAUDE.md is a symbolic link...) to AGENTS.md.
    • Add CLAUDE.md overrides (if any) to AGENTS.md or as separate imports.
  • Include the Knowledge Writeback & Active Pruning section rules in AGENTS.md so all future agents follow them.

4. Knowledge Writeback & Active Pruning (on problem-solving)

When solving a problem reveals non-obvious knowledge (e.g., a gotcha, hidden config, env var quirk), the agent MUST:

  1. Extract reusable insight: Distill into a concise, non-derivable rule (1–2 bullets, no drifting metrics or micromanagement).
  2. Propose the writeback: Present the candidate snippet to the user for explicit confirmation before writing to AGENTS.md or dedicated notes.
  3. Active Pruning: Keep AGENTS.md lean (< 100 lines). If ## Lessons Learned or gotchas exceed 5 entries, propose deleting stale items or promoting mature patterns into types, tests, or auxiliary files (see references/quality-criteria.md).

Advanced features

For quality assessment rubrics, detailed grading criteria, and red flags, see references/quality-criteria.md. For complete AGENTS.md starter templates and imports guide, see references/templates.md. For step-by-step mock execution cases and interactive prompts, see references/examples.md.

What ships with it: 3 files

16.5 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.