gangsta AGENTS.md

gangsta AGENTS.md is an instructions file for Codex, OpenCode from kucherenko/gangsta. It costs 276 tokens per session, scanned A, original, MIT.

Contribution rules for Gangsta, an AI-agent framework built around tested instructions. They define what changes are accepted and require testing before and after skill changes.

In plain words
What is it for?
Preparing contributions, testing new or modified skills, checking claims against project rules, and keeping the zero-dependency package consistent.
Why use it?
They help contributors make verifiable, focused changes without weakening the framework's governance rules.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/kucherenko/gangsta/agents-md
Clone the repo
git clone --depth 1 https://github.com/kucherenko/gangsta

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gangsta AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kucherenko/gangsta/agents-md.svg)](https://agentmods.dev/instructions/kucherenko/gangsta/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kucherenko/gangsta/agents-md"><img src="https://agentmods.dev/badge/instructions/kucherenko/gangsta/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 276 This file is loaded in full into every session.
When invoked 276 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00276 $0.00276
Opus 5 $0.00138 $0.00138
Sonnet 5 $0.00055 $0.00055
Haiku 4.5 $0.00028 $0.00028

Measured 5d ago against content hash 632b60c9403a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gangsta AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 30 lines

What it actually says

Contributing to Gangsta

What This Is

Gangsta is an AI agentic skills framework for spec-driven development. Skills are behavior-shaping code, not documentation. They must be tested rigorously.

What Will NOT Be Accepted

  • Third-party dependencies (this is a zero-dependency package)
  • Changes that weaken Omerta governance rules
  • Skills without adversarial pressure testing
  • Bulk PRs with unrelated changes bundled together
  • "Improvements" that add complexity without clear value
  • Narrative storytelling in skill content (skills are instructions, not blog posts)

Skill Changes

Every skill change requires:

  1. Baseline testing: Run a pressure scenario WITHOUT the change, document behavior
  2. Change testing: Run the same scenario WITH the change, document improvement
  3. Include both results in your PR

The Laws Apply to Contributors Too

  • Omerta Law 3 (Rule of Truth): Every claim in a PR must be verifiable
  • Omerta Law 5 (Spec is Law): Changes must align with the framework design spec

The Constitutional Floor

Active Negative Constraints in docs/gangsta/constitution.md are binding on contributors. Adding or modifying a Negative Constraint requires Don approval through a Heist; do not edit docs/gangsta/constitution.md directly in a PR without an associated Heist.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 30 lines · 276 tokens per session scan A 632b60c9403a

Subscribe to this mod's changes

gangsta AGENTS.md is an instructions file published in the GitHub repository kucherenko/gangsta (81 stars, last pushed 22d ago), licensed MIT. It adds 276 tokens to every session, about $0.0014 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.