Skip to content

1mb-dev/aipolicy

aipolicy

CI License: MIT

Generate AI policy files for your repository.

aipolicy.1mb.dev

Creates AI_POLICY.md, AGENTS.md, and CLAUDE.md with three presets and full customization. No install, no sign-up -- pick a preset, download the files.

What it generates

  • AI_POLICY.md -- How AI tools are used in your project: usage policy, code acceptance, CI/CD rules, training data opt-out.
  • AGENTS.md -- Instructions for AI coding agents: code style, testing, restricted paths, review policy.
  • CLAUDE.md -- Claude Code configuration. References AGENTS.md rules.

Presets

  • Open -- AI tools welcome, standard quality bar
  • Standard -- AI tools with human review
  • Strict -- AI tools restricted, explicit approval

Configure any option, share the URL:

https://aipolicy.1mb.dev/?preset=standard&ai_usage=restricted&training_optout=yes

CLI

Download preset files directly:

curl -O https://aipolicy.1mb.dev/presets/standard/AI_POLICY.md
curl -O https://aipolicy.1mb.dev/presets/standard/AGENTS.md
curl -O https://aipolicy.1mb.dev/presets/standard/CLAUDE.md

Available presets: open, standard, strict. For custom configurations, use the web UI and download the ZIP.

Contributing

See CONTRIBUTING.md. Vanilla HTML, CSS, and JavaScript -- no framework, no build step.

License

MIT

About

Generate AI_POLICY.md, AGENTS.md, and CLAUDE.md for any repository - pick a preset, customize, download

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors