agentsclimarketplace

Agents md manager

Skill NecturaLabs/AgentSkills/skills/agents-md-manager

Create or update the project's AGENTS.md file based on codebase analysis. Invoke manually via /agents-md-manager, or triggered automatically as the final step of superpowers plan execution.From its SKILL.md

Install
npx -y skills add NecturaLabs/AgentSkills --skill agents-md-manager

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

  • 1 stars1 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

6.0 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it

AGENTS.md Manager

Overview

Creates or updates the project's AGENTS.md file based on codebase analysis.

When This Runs

  • Manually: User invokes /agents-md-manager
  • Automatically: As the final step after completing a superpowers plan execution (via superpowers:executing-plans)

This skill does NOT run automatically at conversation start.

digraph manager {
    "User invokes or plan completes" [shape=doublecircle];
    "AGENTS.md exists?" [shape=diamond];
    "Analyze codebase (new)" [shape=box];
    "Create AGENTS.md" [shape=box];
    "Check if stale" [shape=diamond];
    "Analyze codebase (update)" [shape=box];
    "Update AGENTS.md" [shape=box];
    "Done" [shape=doublecircle];

    "User invokes or plan completes" -> "AGENTS.md exists?";
    "AGENTS.md exists?" -> "Analyze codebase (new)" [label="no"];
    "AGENTS.md exists?" -> "Check if stale" [label="yes"];
    "Analyze codebase (new)" -> "Create AGENTS.md";
    "Create AGENTS.md" -> "Done";
    "Check if stale" -> "Done" [label="current"];
    "Check if stale" -> "Analyze codebase (update)" [label="stale"];
    "Analyze codebase (update)" -> "Update AGENTS.md";
    "Update AGENTS.md" -> "Done";
}

Staleness Detection

Re-analyze when ANY of these are true:

  • AGENTS.md does not exist
  • Tech stack versions in the file don't match package.json / go.mod / Cargo.toml / etc.
  • Build/test/lint commands in the file don't match current scripts
  • Project structure has significantly changed (new top-level directories)
  • The user asks to refresh it

What to Detect from Code

Scan these files to infer project context:

SourceWhat to Extract
package.json / go.mod / Cargo.toml / *.csproj / requirements.txtTech stack, versions, dependencies
package.json scripts / Makefile / Taskfile / CI configsBuild, test, lint commands
Directory listingProject structure
Existing test filesTest framework, naming patterns, file locations
.eslintrc / .prettierrc / biome.json / ruff.tomlLinting and formatting config
.env.example / .env.templateRequired environment variables
Existing code filesNaming conventions, patterns, style

What to Write

Target: under 200 lines. Every line must earn its place — ask "would removing this cause the agent to make mistakes?" If no, cut it.

Required Sections (in order of priority)

1. Project Overview (1-3 sentences) What it does, who it's for, tech stack with versions.

## Project
E-commerce API built with Node.js 20, Express 4, TypeScript 5.4, PostgreSQL 16. Serves the mobile and web storefronts.

2. Commands Exact build/test/lint commands with flags. Put these early — agents reference them constantly.

## Commands
- Build: `npm run build`
- Test: `npm test -- --watch`
- Lint: `npm run lint -- --fix`
- Single test: `npm test -- --testPathPattern=<file>`

3. Code Conventions (non-obvious only) Only include what differs from framework defaults or what the agent cannot infer from existing code.

## Conventions
- Named exports only, no default exports
- Use ES modules (import/export), not CommonJS
- Error responses use `{ error: string, code: string }` shape

4. Project Structure (key directories)

## Structure
- `src/api/` — Route handlers
- `src/services/` — Business logic
- `src/models/` — Database models
- `tests/` — Mirrors src/ structure

5. Testing Approach Framework, naming, where tests live.

6. Boundaries

## Boundaries
- **Always**: Run tests before committing
- **Ask first**: Database schema changes, dependency additions
- **Never**: Commit secrets, modify vendor/, force push to main

Optional Sections (only if relevant)

  • Domain terminology (business jargon definitions)
  • Common workflows (step-by-step for recurring tasks)
  • Environment setup quirks
  • Common gotchas / past incident patterns

What NOT to Write

ExcludeWhy
Things derivable from reading codeWastes token budget
Standard language conventionsAgent already knows these
Detailed API docsLink to them instead
Frequently changing dataGoes stale, poisons context
Vague principles ("write clean code")Not actionable, gets ignored
File-by-file descriptionsAgent discovers through tools
Linting rules enforced by tools"Never send an LLM to do a linter's job"
Secrets or credentialsSecurity risk
Contradicting instructionsAgent picks one arbitrarily

Writing Style Rules

  • Specific and verifiable: "Use 2-space indentation" not "format properly"
  • Actionable: Agent can execute without interpretation
  • Non-obvious: Only things the agent wouldn't do by default
  • Include reasoning: "Use pnpm (not npm) because we use pnpm workspaces" — the WHY helps edge cases
  • Show examples: One code snippet beats three paragraphs
  • Most important rules first and last — LLMs prioritize prompt peripheries

Cross-Tool Compatibility

Generate AGENTS.md at project root — it's the universal format supported by 20+ tools (Claude Code, Cursor, Codex, Copilot, Windsurf, Kilo, etc.).

CLAUDE.md and AGENTS.md serve different purposes:

  • CLAUDE.md — User-authored preferences and instructions (do not modify unless asked)
  • AGENTS.md — Auto-detected project context (commands, structure, conventions)

Do NOT merge auto-detected content into CLAUDE.md. Always write to AGENTS.md. Never duplicate content that already exists in CLAUDE.md.

User Notification

After creating or updating, briefly tell the user:

  • "Created AGENTS.md with project context" (new file)
  • "Updated AGENTS.md — added X, removed Y" (update)

Keep the notification to one line. Don't dump the file contents.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 0 of the 12 instructions most memory context skills give in ~1.5k tokens

Counted across 754 of the 1,056 authors here whose files we hold, read 2026-09-06

  • Preserve existing content structurein 15 of 754, across 9 files
  • Front-load the leading wordin 14 of 754, across 10 files
  • Update existing entries instead of duplicatingin 14 of 754, across 7 files
  • Keep CLAUDE.md under one hundred linesin 14 of 754, across 12 files
  • Read CLAUDE.md at the project rootin 14 of 754
  • Keep each meaning in a single source of truthin 12 of 754, across 8 files
  • Redact sensitive information before committingin 11 of 754, across 4 files
  • Scan for all CLAUDE.md filesin 11 of 754, across 7 files
  • Use frontmatter for metadata on filesin 10 of 754, across 3 files
  • Repeat user interactions 10 timesin 10 of 754, across 4 files
  • Write the CLAUDE.md file into the target folderin 10 of 754, across 8 files
  • Use memlab to process snapshotsin 9 of 754, across 3 files

Said here and by no other author read

  • Analyze codebase to infer project context
  • Include project overview and commands
  • Include project structure and conventions
  • Notify the user after creating or updating

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

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.