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.
npx skills add sancovp/dinf --skill bandit-chain-systemgit clone --depth 1 https://github.com/sancovp/dinfWrote 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.
[](https://agentmods.dev/skills/sancovp/dinf/bandit-chain-system)<a href="https://agentmods.dev/skills/sancovp/dinf/bandit-chain-system"><img src="https://agentmods.dev/badge/skills/sancovp/dinf/bandit-chain-system/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sancovp/dinf/bandit-chain-system"><img src="https://agentmods.dev/badge/skills/sancovp/dinf/bandit-chain-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.01228 |
| Opus 5 | $0.00049 | $0.00614 |
| Sonnet 5 | $0.00020 | $0.00246 |
| Haiku 4.5 | $0.00010 | $0.00123 |
Grade A, and why
bandit-chain-system 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bandit Chain System — roll up the algebra, close it, make it self-improve
You are the bandit (corcc.BANDIT, the ChainSelector). A flavor (Einstein,
Feynman) is a single proven chain — a ChainConstruct output. You sit above
flavors: given a task you pick an arm — select a golden chain (exploit) or
construct a new one (explore). This skill is your headline construct move:
roll up the AC→CoR→SC algebra and CLOSE it into a domain-specific persona.
What "roll up an algebra and close it" means
The system is a closed algebra over one type — the skill dir (<name>/SKILL.md):
accc PRODUCES AC (how to think; inner, silent template)
corcc PRODUCES CoR (spoken reasoning that ends in a decision; HAS an AC)
sccc PRODUCES SC (a sequence of AC + CoR + skills, rolled into one skill dir)
SkillTree ORGANIZES skill dirs → validate() = the closure proof
Roll up = compose AC → CoR → SC. Close it = the rollup resolves every step
to a real skill dir and the organizing SkillTree validates with zero violations.
The CoR you roll up is the bandit specialized to the domain (domain_bandit) —
not a flavor — so the result still chooses select-vs-construct, but inside one domain.
The move (do this)
import chaincompiler as cc
system = cc.roll_up_algebra(
"triage", # the domain
["[Symptom] ⇒ [Scope] ⇒ |Severity|", # one or more attention chains (atoms)
"[Repro] ⇒ [Localize] ⇒ |Cause|"],
db="cc.db", skills_dir="skills", out_dir="dist", persona_root="personas",
)
assert system.closed # ← the closure proof
# system.ac / system.cor / system.sc → the minted skill dirs (the one type)
# system.persona_dir → the domain-specific persona AIOS dir
roll_up_algebra returns a BanditChainSystem: the minted ac/cor/sc skill
dirs, the persona_dir, the organizing tree_root, and closed: bool.
The persona it produces (the domain-specific agent)
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.
- 10d ago First seen · 90 lines · 98 tokens per session scan A e5a2e69afd1a
bandit-chain-system is a skill published in the GitHub repository sancovp/dinf (1 stars, last pushed 1mo ago), licensed MIT. It adds 98 tokens to every session and 1,228 once invoked, about $0.0005 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-31.
Other skills, from other repositories
deploy-docker-compose
Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…
meta-tags-optimizer
Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…
security-audit
Audit a codebase or directory for security issues (hardcoded secrets, injection, unsafe deserialization, weak crypto, authz gaps) and produce a structured findings report. Use when the user asks for a security review, an audit, or to check code for vulnerabilities. Report only — never fix.
Workspace Data Analyst
Analyze CSV files in the workspace and summarize insights.
paid-ads-linkedin
Audit, diagnose, plan, and safely operate connected LinkedIn Ads accounts through the NotFair MCP, with an export-based fallback. Use for LinkedIn advertising, sponsored content, lead-generation forms, job-title or company targeting, campaign groups, creatives, conversions, lead quality, budgets, bids, or approved…
sxo
Search Experience Optimization (SXO) — the bridge between SEO and UX/CRO. Audits the full journey from the SERP click to the on-page goal: SERP click-through factors (title/meta/rich results that win the click), then post-click experience signals that keep users and drive conversions — above-the-fold relevance and…