Skip to main content

agent-style (PyPI)

CLI for The Elements of Agent Style: a literature-backed English technical-prose writing ruleset for AI agents.

Install:

pip install agent-style

Basic use:

agent-style list-tools                               # show supported tools
agent-style enable claude-code                       # wire up Claude Code
agent-style enable claude-code --dry-run --json      # preview in canonical JSON
agent-style disable claude-code                      # reverse
agent-style rules                                    # print bundled RULES.md

The CLI writes to .agent-style/ in your project and safely adds a marker-wrapped reference to your existing instruction file (CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, etc.). Existing content is preserved; writes are idempotent; --dry-run previews without changing any file.

Supported tools and install modes in v0.4.2:

Tool Install mode
claude-code import-marker (writes @.agent-style/claude-code.md to your CLAUDE.md)
agents-md append-block (writes a marker block to your AGENTS.md)
copilot append-block (writes a marker block to .github/copilot-instructions.md)
copilot-path owned-file (writes .github/instructions/agent-style.instructions.md)
cursor owned-file (writes .cursor/rules/agent-style.mdc)
anthropic-skill owned-file (writes .claude/skills/agent-style/SKILL.md)
codex print-only (writes .agent-style/codex-system-prompt.md; stdout = prompt)
aider multi-file-required (writes .agent-style/aider-conventions.md; stderr = .aider.conf.yml snippet)
kiro owned-file (writes .kiro/steering/agent-style.md)
style-review skill-with-references (installs the skill and its references on supported hosts)

The full rule set lives in the canonical repository at https://github.com/yzhao062/agent-style. This PyPI package bundles RULES.md, NOTICE.md, the 9 primary adapters, the style-review skill and its references, and the tools.json registry; running agent-style rules prints the bundled RULES.md for quick review.

License

  • Code: MIT (agent_style/data/LICENSES/MIT.txt).
  • Bundled prose (RULES.md, NOTICE.md, adapters, style-review): CC BY 4.0 (agent_style/data/LICENSES/CC-BY-4.0.txt).

Roadmap (v0.4.2+): agent-style update (pull refreshed adapters), agent-style override <RULE> disable (per-rule opt-out), agent-style clean (single-command uninstall), .agent-style/config.toml (project-level config).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_style-0.4.2.tar.gz (113.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_style-0.4.2-py3-none-any.whl (138.2 kB view details)

Uploaded Python 3

File details

Details for the file agent_style-0.4.2.tar.gz.

File metadata

  • Download URL: agent_style-0.4.2.tar.gz
  • Upload date:
  • Size: 113.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agent_style-0.4.2.tar.gz
Algorithm Hash digest
SHA256 edfef88625f9ef1afb2a160fa9e574b9d84838830e05080c2a5b4e02c3a6262e
MD5 dea9c269bbde053cdcc3c356f7f3e31d
BLAKE2b-256 4fe4d36f2530361fb32e8b61890315878f4bc2aa8bf1c1c92b2b9b2be325f2a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_style-0.4.2.tar.gz:

Publisher: publish.yml on yzhao062/agent-style

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agent_style-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: agent_style-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 138.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agent_style-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 beb16a0798e02ecb21131f79ded009f0fa3822948392ace3fbc409dfd6e9fa34
MD5 8fda071d46452464406553ceec25a664
BLAKE2b-256 c126c3b445c572cfa4969cf665109c41593427154d2dcf7a1eb3f5714b66b4e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_style-0.4.2-py3-none-any.whl:

Publisher: publish.yml on yzhao062/agent-style

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page