agents-md
Agent Instructions
Use this skill when a user wants to standardize repository-level agent instructions, especially when they mention:
- integrating
CLAUDE.mdandAGENTS.md - making one file the source of truth
- adopting a redirect-based pattern
- removing duplicated guidance across agent-specific instruction files
Goal
Make AGENTS.md the shared instruction entrypoint for the repo.
In the common case:
- Move or merge reusable repository guidance into
AGENTS.md. - Reduce
CLAUDE.mdto a single@AGENTS.mdredirect. - Keep agent-specific differences only if they are truly necessary.
Workflow
- Read the current
CLAUDE.mdandAGENTS.mdif they exist. - Identify which content is shared repo guidance versus tool-specific behavior.
- Put the shared, durable guidance in
AGENTS.md. - Remove duplication so
CLAUDE.mddoes not drift fromAGENTS.md. - If the repo follows the redirect-based setup, replace
CLAUDE.mdwith exactly@AGENTS.md. - Verify that no important instruction was dropped during consolidation.
Rules
- Prefer one source of truth over mirrored copies.
- Preserve repository-specific rules; do not overwrite them with generic boilerplate.
- Keep
AGENTS.mdconcise and repo-focused. - Do not invent extra files unless the repo already uses a multi-level instruction layout.
- If a subdirectory already has its own
AGENTS.md, keep the root file focused on root-level guidance and references to child scopes.
Verification
After editing:
- diff
CLAUDE.mdandAGENTS.md - confirm
CLAUDE.mdis only a redirect when using the redirect-based pattern - check that any previously documented repo rules still exist in
AGENTS.md
More from verneagent/tiny-skills
inscribe
Capture rules, conventions, or code style guidelines into documentation files. Use when the user says "inscribe", "learn", "remember this rule", "add convention", or wants to persist coding guidelines.
4lark-share
Share a knowledge insight or message with a team via Lark group chat webhook. Use when the user says "share", "lark-share", or wants to send a formatted message to a Lark group.
4multi-gh
Fix and standardize GitHub multi-account workflows with gh account switching, SSH host aliases, and safe remote setup. Use when creating repos, pushing code, or diagnosing GitHub auth mismatches across multiple identities.
2retro
Retrospective on mistakes or new conventions — analyze patterns, find root causes, and propose deterministic prevention (static checks > lint > tests > runtime > review > docs). Use when the user says "retro", "反省", "复盘", "怎么防", "how to prevent", or wants to enforce a new convention.
2wksp
Open a new iTerm2 tab with Claude in a worktree or folder, optionally entering handoff mode.
1netmap
Show all network interfaces, LAN neighbors, and Tailscale peers on the current machine. Use when the user asks about network status, neighbors, connected devices, or Tailscale peers.
1