SkillsMay 14, 2026·2 min read

agentrules — Multi-Provider AGENTS.md Generator

agentrules generates AGENTS.md via a six-phase analysis pipeline; verified 117★. Install with `pip install -U agentrules`, then run `agentrules analyze`.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Universal CLI install command
npx tokrepo install 4323a51e-d760-5437-87f1-813720527be3
Intro

agentrules generates AGENTS.md via a six-phase analysis pipeline; verified 117★. Install with pip install -U agentrules, then run agentrules analyze.

Best for: Engineers standardizing repo guidance for multiple coding agents across providers

Works with: Anthropic/OpenAI/Google/DeepSeek/xAI providers and optional local Codex runtime (per README)

Setup time: 12-25 minutes

Key facts (verified)

  • GitHub: 117 stars · 18 forks · pushed 2026-05-08.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: pip install -U agentrules.

Main

  • Run agentrules analyze to generate an AGENTS.md-style contract based on your repo structure, then keep it as a durable entrypoint for agents.

  • Use the interactive configure flow to keep provider keys and presets out of the repo and inside user config (README points to ~/.config/agentrules/config.toml).

  • Start with an offline/low-risk smoke run (README includes a smoke test) before turning on web search or live API providers in CI.

Source-backed notes

  • README shows PyPI install: pip install -U agentrules and a smoke test agentrules analyze /path/to/project.
  • README says settings live in ~/.config/agentrules/config.toml (override via AGENTRULES_CONFIG_DIR).
  • README describes a six-phase analysis pipeline ending in AGENTS.md generation.

FAQ

  • Is it tied to one model provider?: No — README lists multiple providers and also mentions optional local Codex runtime presets.
  • Where do keys live?: README says keys and preferences are stored in ~/.config/agentrules/config.toml.
  • What is the first command to try?: Install, then run agentrules analyze /path/to/project as the smoke test in README.
🙏

Source & Thanks

Source: https://github.com/trevor-nichols/agentrules-architect > License: MIT > GitHub stars: 117 · forks: 18

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets