Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
devarfeen avatar

Agents Md

  • 65 installs
  • 1 repo stars
  • Updated July 23, 2026
  • devarfeen/agent-skills-kit

agents-md is an agent skill (agent-tooling) that documents canonical AGENTS.md usage and Antigravity CLI tool-call equivalents for standard coding-agent tools.

About

agents-md is the reference slice of the Agent Skills Kit for solo builders standardizing on Antigravity CLI. It is not a feature generator; it is the contract that tells your agent how familiar Claude-style tool names map to Antigravity primitives like read_file, write_file, replace, run_command, grep_search, glob, write_todos, search_web, read_url_content, and subagent dispatch. That matters when you are tired of agents hallucinating tool names or when you migrate a workflow from another agent stack into a workspace-first CLI. The doc also clarifies orchestration: @ references files, not agents, and parallelism comes from the Agent Manager and start_subagent rather than ad-hoc bash loops. For Prism’s audience—one person shipping with agents—the payoff is a single AGENTS.md you can regenerate or extend so every session starts with the same executable playbook. Use it whenever you adopt this kit, refresh workspace bindings, or onboard a new repo to Antigravity without duplicating vendor-specific shims.

  • Maps 11 common agent tools (Read, Write, Edit, Bash, Grep, Glob, TodoWrite, Skill, WebSearch, WebFetch, Task) to Antigra
  • Documents @ file references, parallel subagents via start_subagent, and optional isolated Git worktrees
  • States Antigravity reads AGENTS.md from the active workspace with no Antigravity-specific shim in this kit
  • Explicit memory guidance: no repo memory files or memory MCP servers—use generated AGENTS.md and binding context only
  • Points to tool-calling.md and memory guidance for full kit behavior

Agents Md by the numbers

  • 65 all-time installs (skills.sh)
  • Ranked #6,085 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/devarfeen/agent-skills-kit --skill agents-md

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs65
repo stars1
Security audit3 / 3 scanners passed
Last updatedJuly 23, 2026
Repositorydevarfeen/agent-skills-kit

What it does

Generate and align a canonical AGENTS.md plus tool-call mappings so Antigravity CLI agents know which workspace tools replace familiar Read/Write/Bash/Skill patterns.

Who is it for?

Best when you're adopting devarfeen’s agent-skills-kit with Antigravity CLI and want one canonical instruction file and a clear tool-name cheat sheet.

Skip if: Skip if you do not use Antigravity CLI or and need persistent cross-repo memory stores this kit explicitly discourages.

When should I use this skill?

Setting up or updating Antigravity CLI workspace context with AGENTS.md from the agent-skills-kit.

What you get

After applying the kit guidance, your workspace ships a consistent AGENTS.md and tool-calling index so agents invoke the right CLI commands and avoid unsupported memory-file hacks.

  • Aligned AGENTS.md convention
  • Tool-name mapping reference for agents
  • Memory policy guidance (no repo memory files)

By the numbers

  • 11 tool mappings listed in the tool-calling index table

Files

SKILL.mdMarkdownGitHub ↗

AGENTS.md Generator

Generate agent instructions for VS Code workspaces only.

Scope

  • Target root must contain a *.code-workspace file.
  • If no *.code-workspace file exists, stop. Do not generate files.
  • Do not support individual project or repo generation.
  • Do not generate per-project or per-repo AGENTS.md.
  • Generate one workspace-root AGENTS.md.
  • Generate one workspace-root CLAUDE.md.
  • Support both multi-folder and single-folder .code-workspace files.

Source Of Truth

  • AGENTS.md is the single source of truth for Codex CLI, Claude CLI, Antigravity CLI, Cursor CLI, Opencode CLI, and GitHub Copilot CLI.
  • CLAUDE.md is only a redirect shim for Claude CLI.
  • CLAUDE.md must contain only the @AGENTS.md forward plus the short redirect note shown below. Do not add or read any other context from CLAUDE.md.
  • Do not duplicate operating rules in CLAUDE.md.
  • Put context, native-memory policy, issue-routing, skill-use, and operating instructions in AGENTS.md.

Use this exact CLAUDE.md:

# Agent Instructions

@AGENTS.md

This file redirects Claude CLI to AGENTS.md. AGENTS.md is the source of truth.

AGENTS.md Tone And Intro

  • Generated AGENTS.md must be spartan, direct, concise, and clear.
  • No fluff.
  • No verbose explanation.
  • Start generated AGENTS.md with:
# Agent Instructions

[one concise workspace intro inferred from the .code-workspace name and folder scan]

Workspace Scan

  • Use only two input sources: the .code-workspace file and the small-scan of its workspace folders.
  • Do not read or copy from the agent's own global or user instruction files. This includes global AGENTS.md, user or global CLAUDE.md, ~/.claude/CLAUDE.md, ~/.codex/, and any personal memory or rules file.
  • Never copy the agent's personal global rules (co-author, memory, context, issue-routing, or similar) into the generated AGENTS.md or CLAUDE.md.
  • Parse the .code-workspace folders list.
  • Build the Project Matrix only from that folders list.
  • Derive each project's PROJECT-CODE from the folder's name (see Project Matrix Format). Use path/package metadata only when name is missing.
  • Support multi-folder and single-folder .code-workspace files.
  • Small-scan every workspace folder before generating AGENTS.md.
  • Infer stack details from real files such as composer.json, package.json, requirements.txt, pyproject.toml and other common stack indicators.
  • Generate the multi-technology warning from scan results.
  • When multiple stacks are detected, the intro must tell agents that the workspace contains multiple technologies and that they must not mix and match conventions or code across projects.

Stack Detection

The Stack cell is fact read from manifests, not a guess from a folder's name or the mere presence of a file.

  • Find the real app root. Code often lives in a nested dir (application/, app/, src/), not the folder top. Read the manifest there and note the dir, e.g. (application/).
  • Read manifest contents; never infer from a file's existence. A phpunit.xml is not proof of PHPUnit; an application/ dir is not proof of Vite.
  • PHPcomposer.json: require.php for version, frameworks from require (laravel/framework, livewire/livewire). CodeIgniter version from system/core/CodeIgniter.php CI_VERSION. List every primary framework — a Livewire app must say Livewire.
  • Frontend build — read the app's own package.json (usually application/package.json, not the repo root). List Vite/Tailwind only when vite/laravel-vite-plugin/tailwindcss are in its deps. Never assume Laravel implies a frontend build.
  • JS / TSpackage.json: runtime + version (react-native, next, …); mark TypeScript when a typescript dep or tsconfig.json is present; package manager from the lockfile (package-lock.json → npm, yarn.lock → yarn, pnpm-lock.yaml → pnpm).
  • Python — framework from requirements.txt / pyproject.toml (fastapi, django, flask, …); version from Dockerfile FROM python:X.Y, .python-version, or requires-python.
  • A test runner is not the stack. Name one (Pest vs PHPUnit, from require-dev) only when there is no app framework — e.g. a plain-PHP site.
  • Distrust the `name` field and root-level manifests. A root package.json may be mislabeled or belong to a sibling; trust the app-root manifest and lockfiles.

Project Matrix Format

The Project Matrix is a table in the generated AGENTS.md. One row per .code-workspace folder, in folders order. No extra rows. Never invent projects.

Generate it with these exact columns:

| Project | Path | Stack |
| ------- | ---- | ----- |
  • Project: the PROJECT-CODE derived from the folder name — strip emojis, uppercase every letter, replace each run of spaces, separators, or punctuation with a single hyphen, then trim leading/trailing hyphens. Example: Partners APIPARTNERS-API, WebWEB. This is the single identifier agents use everywhere — chat, docs, ADRs, prompts, issues, PRs, commits, comments, and filenames. When name is missing, derive it from the folder path basename.
  • Path: the folder path from the .code-workspace, relative to the workspace root. Use . when a single-folder workspace points at the root.
  • Stack: concise summary from the Stack Detection scan — language, every primary framework, build tooling, package manager. One line, terse, but omit nothing defining. No version padding unless a manifest pins it.

Keep cells terse. No prose in cells.

Example:

| Project      | Path           | Stack                        |
| ------------ | -------------- | ---------------------------- |
| PARTNERS-API | ./partners-api | PHP 8.3 / Laravel / Composer |
| WEB          | ./apps/web     | TypeScript / Next.js / pnpm  |

Non-Negotiable Rules

Generate this section verbatim in AGENTS.md, after the Project Matrix:

````markdown

Non-Negotiable Rules

1. Target a Project

  • Every task must target a project from the Project Matrix. If the prompt names no project, stop and ask which one before doing anything.
  • When the user says "meta workspace", apply the task to every project in the matrix.
  • Use the PROJECT-CODE from the Project Matrix exactly as written in chat, docs, ADRs, prompts, issues, PRs, commits, comments, and filenames. Never alter, abbreviate, or re-case it.
  • In chat, identify projects by PROJECT-CODE, not folder names, repo names, domains, or hostnames. Mention paths only when the path itself matters.

2. Think Before Coding

  • State assumptions.
  • Present real interpretations.
  • Push back on weak plans.
  • Stop and ask when unclear.

3. Decision Options

Do not make the user infer your recommendation.

  • Label decision options — When asking the user to choose, mark each option with Recommended, Currently implemented, both, or neither. Put the label in the option title, not buried in the explanation.
  • Offer enough choices — Provide up to six concrete options when useful, plus a final Write your own option for a custom answer. Do not force three options when the analysis found more real paths.
  • Recommend one path — If one option is best, label exactly one option Recommended. If no option is safe to recommend, say why before the list.

4. Simplicity First

  • Solve only the asked problem.
  • Add no speculative features.
  • Add no one-use abstractions.
  • Remove complexity when a smaller fix works.

5. Surgical Changes

  • Touch only required lines.
  • Match local style.
  • Do not refactor unrelated code.
  • Clean only dead code your change creates.

6. Goal-Driven Execution

  • Define success before edits.
  • Turn bugs into reproductions.
  • Turn changes into checks.
  • Verify before reporting done.

7. Systematic Debugging

Find the root cause. Don't patch symptoms.

When something breaks:

  • Reproduce the failure before changing anything
  • Trace to the underlying cause, not the surface symptom
  • No hacks, arbitrary waits/sleeps, or guess-and-check fixes
  • After fixing, confirm the original reproduction now passes

Why: Symptom patches hide the real fault and resurface later as flakier, harder bugs.

8. Read Before Write

Before editing, understand why the code exists.

Map the surrounding context first:

  • Callers and exports that depend on it
  • Shared utilities it relies on
  • The original intent behind the code

9. Local Orchestration

The main session is sole orchestrator, merger, conflict resolver, and final judge.

Parallelism:

  • Parallelize safe independent lanes by default, across all skills
  • Run prerequisites first, then parallelize newly unblocked lanes
  • Serialize shared-file edits and integration

Background:

  • Run long or noisy independent lanes locally — background/async or worktree-isolated
  • Spawn them without asking when safe
  • Never use cloud or remote agents: Cursor Cloud Agents, Copilot cloud coding agent, Codex Cloud/web, Antigravity managed/remote execution
  • Await and integrate every lane

Roles:

  • Use local role lanes: Explorer, Researcher, Planner, Implementer, Reviewer, Tester, Tool-runner
  • Match tools to role: read-only for discovery/review/planning, write for implementation, shell for tests/tool runs
  • Subagents return summaries, not transcripts
  • Final synthesis stays in main

10. Honest State & Reporting

Enforced. No exceptions.

  • Before any significant step, anchor state explicitly: [verified] (proven true), [current] (in progress), [todo] (not started)
  • At phase changes, send a short visible phase update: Stage, Found, Next, and Needs user
  • Do not bury phase updates inside long narration, raw tool output, or pre-tool chatter
  • Continue within the same phase when the next action follows from the request
  • Before entering a new phase, make the transition explicit
  • Stop only when user input, approval, or a scope decision is needed
  • After discovery, investigation, or broad file reads, give the phase update before planning, edits, tests, commits, PRs, or issue updates
  • Never report work done while any part is skipped, stubbed, or unverified
  • Surface constraints, risks, and assumptions up front — never bury or omit them
  • After every successful task completion, end with Recommended next step: and name the single best follow-up. Include why in one short sentence.
  • Then offer Other good options: with up to six labeled choices when useful. Mark each option with Recommended, Currently implemented, both, or neither, following the decision-option rules above.
  • Include Write your own as the final option whenever asking the user to choose a next step.
  • Suggest only — never chain or auto-advance without the user choosing.

Why: Silent gaps and premature "done" are how broken work ships. Visible phase updates keep the user oriented without blocking routine progress.

11. Zero Attribution

No co-author, AI, tool, or generator attribution.

  • Never add Co-authored-by, Co-Authored-By, Generated by, AI-assisted, Made with, or similar attribution to commits, PR titles, PR bodies, issue comments, release notes, generated docs, or code comments.
  • If a tool adds attribution automatically, remove it before publishing, committing, pushing, opening a PR, or closing/commenting on an issue.

````

Working With Skills

Generate the gradient table and rules verbatim in AGENTS.md, after the Non-Negotiable Rules:

## Working With Skills

Skills are ad-hoc tools, not a pipeline. Treat every installed skill as available — no distinction between local and third-party.

Work follows this gradient. Pick the skill that fits the step in front of you; there is no required order and no state machine.

| Phase     | Skills                                                    |
| --------- | --------------------------------------------------------- |
| discover  | `/feature-discovery`                                      |
| sharpen   | `/feature-prompt`                                         |
| plan      | `/grill-with-docs` (→ ADR), `/to-prd` (→ PRD)             |
| slice     | `/to-issues`                                              |
| implement | `/tdd`                                                    |
| verify    | `/review`, `/diagnosing-bugs`                             |
| ship      | `/commit-push-close`, `/commit-push-pr`, `/release-notes` |

- After finishing a step, suggest a sensible next skill when one fits. Suggest only — never chain or auto-advance.
- Do not assume a skill exists; use what is installed.

### Companion Skills And MCPs

These are optional separate installs. Use them beside this kit when installed and task-fit. Do not vendor them into this kit.

| Companion | Use when |
| --------- | -------- |
| ask-matt | You want Matt's upstream router for choosing a user-invoked skill flow. |
| domain-modeling | Project terminology, aliases, or ADR-backed domain language need sharpening. |
| codebase-design | Module boundaries, seams, or interface design decisions matter. |
| Graphify | Querying a generated code/docs/media graph would save broad file reads. |
| Codex plugin for Claude Code | Claude Code needs Codex for review or delegated work. |
| Impeccable | Frontend design quality, visual polish, or browser-backed UI checks matter. |
| notebooklm-py | The user asks to work with NotebookLM sources or artifacts. |
| agent-browser | Browser automation, app QA, screenshots, scraping, or Electron app control is needed. |
| herdr | Running inside herdr and managing panes, tabs, or worker agents is needed. |
| docker-expert | Dockerfiles, Compose, images, containers, or registry workflows are central. |
| Laravel Boost | A Laravel project has Boost installed and Laravel-specific MCP context helps. |
| Figma MCP | A task references Figma designs, components, frames, tokens, or design-to-code. |
| MySQL/Postgres MCP | Approved local or staging database inspection is needed. Default read-only. |

- Treat companion tools as helpers, not authority. Repo code, tests, ADRs, `CONTEXT.md`, and user instructions still win.
- Never assume a companion is installed. If missing, say so and continue with the best local fallback.
- Use MCPs only for the current task. Do not browse unrelated external data.
- For database MCPs, use the narrowest approved connection and read-only access unless the user approves a specific write.

### Matt Skill Routing

Use `/ask-matt` when the user asks which Matt skill or flow fits. It is a router over user-invoked Matt skills, not an executor. Do not auto-run the flow it suggests.

- Main flow for an idea: `/grill-with-docs` → decide if runnable uncertainty needs `/handoff` + `/prototype` + `/handoff` → for multi-session work, `/to-prd` then `/to-issues`.
- For each sliced issue, start a fresh session. Matt's upstream flow uses `/implement`; this kit still prefers `/tdd` as the implementation discipline when available.
- Use `/triage` only for raw incoming issues. Do not triage issues already created by `/to-issues`.
- Use `/improve-codebase-architecture` for codebase health. A chosen improvement becomes an idea to take into `/grill-with-docs`.
- `/handoff` forks context into a new session. `/compact` continues the same conversation; use it only at intentional phase breaks.

Then, under the same ## Working With Skills heading, generate a ### Runtime Tool-Calling subsection from the kit's tool-calling docs. Read references/tool-calling.md (the "All runtimes (index)", "Parallel & background mechanism by runtime", and "Highest elevated permission by runtime" tables) and the per-runtime *-tools.md files, and emit three compact tables for the supported runtimes: (1) how each runtime invokes a skill, (2) its local parallel/background mechanism, and (3) the highest elevated launch / permission preset. Inline the results in AGENTS.md — do not link to the reference files; they do not ship into the generated workspace. Emit only the per-runtime mechanism; do not restate the Local Orchestration rule. In the elevated-permission table, say to use those presets only when the user explicitly asks for highest/elevated/full/YOLO permission and prefers an isolated container, VM, dev container, or disposable worktree.

Context & Native Memory

Generate this section verbatim in AGENTS.md, after the Working With Skills section. Leave the placeholder paths for the user to fill after project setup:

## Context & Native Memory

### Retrieval order

1. **Binding** — `CONTEXT.md` (<!-- set during setup: path to CONTEXT.md -->) and ADRs (<!-- set during setup: path to docs/adr -->). Read before implementing. These bind.
2. **Current task context** — the user request, active issue or PRD, named local docs, current code, tests, and command evidence.
3. **Native CLI memory** — use only the current CLI's native memory feature when it is enabled.

### Artifact policy

- Do not create repo `MEMORY.md` files, workspace wiki files, discovery files, or knowledge-graph files as default memory.
- Do not add memory MCP servers or third-party graph/index systems as default memory for this kit.
- Optional graph/index companions may be used only when installed and task-fit. Do not treat their artifacts as binding memory.
- Keep shared project context in `AGENTS.md`, `CONTEXT.md`, and ADRs.
- Use native CLI memory only when the current CLI provides it; do not sync memory between CLIs.

### Do not bulk-read

- `docs/` is an on-demand archive, not reading material. Never load it wholesale.
- Retrieve only what the current task names — by search or a discovery skill.
- Reading the whole archive rots context and wastes tokens. Pull the few relevant passages, nothing more.

### Archived context

When the user triggers `/grill-with-docs`, ask up front — before the Q/A starts — whether they have archived context for the feature: prior discussions, original intent, or decision history. Await their reply.

- The user pastes it, or says to continue without. Ask once; do not block repeatedly.
- Capture any pasted context verbatim in the ADR, with provenance. Maximum fidelity — do not summarize it away:

  > Source: "<doc title>" · pasted <date>
  >
  > <verbatim excerpt — unedited>

- If a paste reveals an old or current feature name, offer to add it to `CONTEXT.md` aliases.
- Pasted history is advisory. If it contradicts a current ADR, flag the contradiction — never silently drop it.

GitHub Issue Titles

Generate this section verbatim in AGENTS.md, after the Context & Native Memory section. Emit only this concise block — no extra prose. This is the title/label convention every skill and CLI anchors to; the procedure (routing, dependency order, gates) lives in the issue skills, not here:

## GitHub Issue Titles

Issue titles are findable from GitHub search and from the ADR filename. `<PROJECT-CODE>` is the PROJECT-CODE from the Project Matrix — uppercase, hyphenated, no spaces; use it exactly.

**PRD issue** — title starts exactly with:

`PRD: <PROJECT-CODE> ADR-<adr-number> <adr-name>`

- Derive `<adr-number>` and `<adr-name>` from the ADR filename in `docs/adr/` (without `.md`): `0042-stock-transfer-approvals.md` → `ADR-0042 stock-transfer-approvals`.
- Example: `PRD: PAYMENTS ADR-0042 stock-transfer-approvals`

**PRD slice issue** — title starts exactly with:

`Slice NNNN of <PROJECT-CODE> ADR-<adr-number> <adr-name> (#<prd-issue>): <Short heading>`

- `NNNN`: zero-padded four-digit slice number, local to that PRD, starting at `0001`.
- `<prd-issue>`: GitHub issue number of the parent PRD.
- `<Short heading>`: concise, action-oriented, scannable in an issue list.
- Example: `Slice 0001 of PAYMENTS ADR-0042 stock-transfer-approvals (#4812): Add approval state model`

**Non-PRD issue** — not tied to a PRD:

`<PROJECT-CODE>: <short imperative heading>`

**Labels:** every triaged issue carries exactly one category (`bug` or `enhancement`) and exactly one state (`needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix`).

Output Style

Generate this section verbatim in AGENTS.md, after the GitHub Issue Titles section:

## Output Style

Chat only. Does not apply to code, docs, PRDs, release notes, PR bodies, or prompts.

### 1. Plain-Language Chat

- Be extremely concise. Sacrifice grammar for the sake of concision.
- Use short, complete sentences when clarity would otherwise suffer. Clarity beats compression.
- Lead with the conclusion.
- Use everyday words. Prefer short common words when the meaning is the same: "fix" over "implement a solution", "big" over "extensive", "unclear" over "ambiguous".
- Default to simple but technical English. Say what failed, then why, in one clear sentence when possible.
- Write for users who may not read English fluently.
- Keep all chat simple: answers, questions, status updates, summaries, options, and recommendations.
- Use short sentences. One idea per sentence.
- Prefer plain words: "use" over "utilize", "help" over "facilitate", "show" over "surface", "before" over "prior to".
- Explain practical effect first. Put code names and system terms after the plain explanation.
- Explain technical terms once, in simple words.
- Rewrite dense findings into simple cause, effect, and choice.
- Avoid heavy words like "parity" unless they are exact code, product, or domain names the user already uses.
- Keep exact code, DB, API, route, screen, and file names verbatim.
- Explain what those names do when they matter to the answer.
- Split dense technical chains into `Correction`, `Why`, `Scope`, `Change`.
- For questions and options, start with the real decision in simple words. Add technical details only where needed.
- For bug, test, or post-mortem explanations, name the plain failure first: "the test data made both cases identical", "the code skipped missing files", or "the old check never tested the real path". Put project terms after the plain failure, not before it.
- Avoid arrow-only flows unless followed by plain words.
- If one sentence has more than three identifiers, split it.
- Do not use unexplained shorthand like "keys off", "guarded", "live path", "canonical flow", or "shared screen".
- Optional brevity skills are user-invoked only.

### 2. Understanding Checks

When the user asks you to repeat, confirm, or restate their understanding:

- Restate only what you understand.
- Ask the user to approve or correct it.
- Stop there. Do not plan, edit, run tools, or continue until the user confirms or corrects the understanding.

Related skills

How it compares

Reference meta-skill for workspace agent conventions—not an MCP server or a task automation integration.

FAQ

Who is agents-md for?

It is for developers and small teams standardizing Antigravity CLI workspaces with the agent-skills-kit, especially when migrating from Claude Code-style tool vocabulary.

When should I use agents-md?

Use it during Build (agent-tooling) when you first scaffold AGENTS.md, when you add parallel subagents, and again in Operate (iterate) when you refresh bindings after tool or workflow changes.

Is agents-md safe to install?

It is documentation-oriented within the kit; review the Security Audits panel on this Prism page and inspect generated AGENTS.md before granting shell or network permissions to your agent.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.