</>MCP Agents Market
Skill

agent-md

by iamfakeguru967ShellUpdated 2026-04-27

Production-grade agent directives for autonomous coding agents: Claude Code, Codex, Cursor, Windsurf, Aider.

Claude CodeCodexCursorWindsurfAider

agent-md is a portable agent skill that installs production-grade directives and enforcement contracts for autonomous coding agents including Claude Code, Codex, Cursor, Windsurf, and Aider. It deploys a single source-of-truth rules file (AGENT.md), repository-local hooks, persistent task state in memory files, and helper scripts so agents follow consistent verification workflows. The skill moves reliability out of advisory prose and into enforceable artifacts like type-checks, tests, visual evidence, and state updates. Developers install it once per project to ensure agents document progress, verify UI changes with screenshots, and block destructive commands.

Key Features

Single-command installer that scaffolds AGENT.md rules, hooks, memory state files, and helper scripts for multiple agents
Hard-block enforcement of bash safety, type-checks, lint, and tests via agent-specific hooks for Claude Code and Codex
Persistent memory/ directory for durable handoff of progress, plan, verification criteria, and gotchas across sessions
Deterministic verification via agent-md.toml config specifying typecheck, lint, test commands, and visual evidence requirements
Visual evidence framework requiring timestamped screenshots and markdown annotations for UI changes
State enforcement hook that blocks completion when source files change but memory/progress.md is not updated
Separate helper scripts (.agent-md/bin/) and native Codex skills (.agents/skills/) for discovery and reuse
Supports Claude Code, Codex, Cursor, Windsurf, and optional git-hook fallback for agents without native hooks

Use Cases

  • 01Enforcing type-checks and test runs before an autonomous agent completes a coding task
  • 02Maintaining a durable progress log across agent sessions so work history persists in memory/progress.md
  • 03Requiring visual evidence (screenshots and annotations) for UI feature work to prevent unverified claims
  • 04Blocking destructive bash commands like rm -rf before they execute via pre-tool-use hooks
  • 05Standardizing agent behavior across multiple autonomous coding tools in the same repository
  • 06Ensuring agents document stack, tooling, and known gotchas in memory/ files for human handoff

Related Skills

View more

agent-md — FAQ

What is agent-md?+

agent-md is an agent skill that installs portable rules files, enforcement hooks, and state management for autonomous coding agents. It shifts reliability from advisory instructions to checked artifacts like tests, type-checks, and visual evidence.

How do I install agent-md in my project?+

Run curl -sL https://raw.githubusercontent.com/iamfakeguru/agent-md/main/install.sh | bash from your project directory. The installer scaffolds AGENT.md, hooks, memory files, and helpers for Claude Code, Codex, Cursor, and Windsurf by default.

Which AI coding agents does agent-md support?+

agent-md supports Claude Code, Codex, Cursor, Windsurf, and Aider. Claude Code and Codex receive hard-block enforcement hooks; Cursor and Windsurf get project rules plus optional git-hook fallback.

Does agent-md require API keys or configuration?+

No API keys are required. Optional configuration is done via agent-md.toml to declare typecheck, lint, test commands, and visual evidence requirements for deterministic verification.

Is agent-md free to use?+

Yes, agent-md is open source and released under the MIT license.

Can agent-md prevent all destructive commands?+

Bash safety hooks provide guardrails for Claude Code and Codex but are not a full sandbox. Git hooks can be bypassed with --no-verify, and enforcement depends on the host agent exposing hook events.

How do I install agent-md?+

Open the source repository on GitHub and follow its README. agent-md is a skill — MCP Agents Market links you directly to the official repo.

Is agent-md free?+

agent-md is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches