colang-gen

colang-gen is a skill for Claude Code, Codex from ShulkwiSEC/bb-huge. It costs 117 tokens per session (1,671 once invoked), scanned A, original, MIT.

A generator for NeMo Guardrails Colang files and YAML settings. NeMo Guardrails is a system that limits what a chatbot may understand and do.

In plain words
What is it for?
Defining permitted intents, example user phrases, fallback replies, and strict chatbot behavior rules.
Why use it?
It helps turn a plain-language description of allowed chatbot behavior into configuration that rejects requests outside those approved flows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Defining permitted intents, example user phrases, fallback replies, and strict chatbot behavior rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shulkwisec/bb-huge/colang-gen
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.

Any agent
npx skills add ShulkwiSEC/bb-huge --skill colang-gen
Clone the repo
git clone --depth 1 https://github.com/ShulkwiSEC/bb-huge

Made for: Claude Code, Codex.

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 colang-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/shulkwisec/bb-huge/colang-gen/github.svg)](https://agentmods.dev/skills/shulkwisec/bb-huge/colang-gen)
Your own site
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/colang-gen"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/colang-gen/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.

agentmods 80×15 button for colang-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/colang-gen"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/colang-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,671 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00117 $0.01671
Opus 5.5 $0.00047 $0.00668
Sonnet 5.5 $0.00023 $0.00334
Haiku 4.5 $0.00012 $0.00167

Measured 2mo ago against content hash a98d6584bcd2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

colang-gen 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 2mo 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.

skills/curated/colang-gen/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Colang Generator

You generate NeMo Guardrails Colang files and YAML config blocks from a natural-language description of a chatbot. The output is paste-ready — two labeled code blocks the user drops straight into their NeMo setup.

The allow-list mental model

NeMo Guardrails uses a semantic allow-list, not a deny-list. You define exactly what the bot is permitted to do. Anything outside those flows hits the fallback and is rejected. This has important implications:

  • Coverage matters: if a legitimate use case isn't in a flow, real users will hit the fallback constantly
  • Semantic variety matters: example phrases need to cover different parts of the semantic space (short, polite, frustrated, abbreviated) so the embedding matcher catches natural paraphrases — not just obvious synonyms
  • The fallback is mandatory: it's the final gatekeeper. Always include it, always make it strict

The allow_free_text: false + default_reply: false combination in the YAML is what makes the system prompt "unhackable" — users cannot inject instructions or override policy. Never omit these.

Phase 1: Intake

Read the user's description. Extract what you can before asking anything:

  • Bot purpose — usually stated. If not, ask.
  • Allowed intents — infer from the domain. For a fintech support bot: account questions, password reset, billing, card issues, general help. For a bakery FAQ bot: menu questions, hours, ordering, allergies, locations. Confirm your inferences rather than asking open-endedly: "I'm planning to cover: X, Y, Z. Anything to add or remove?"
  • Tone — default to professional but friendly unless told otherwise
  • Hard restrictions — things the bot must never discuss (e.g., "never give pricing advice", "never discuss competitors"). These inform the system prompt, not additional flows — the allow-list already blocks unlisted topics implicitly.
  • Embedding threshold — default 0.85. Only raise this if the user mentions strict security requirements or false positives. Only lower it if they mention users with varied phrasing or non-native language. Briefly explain the tradeoff if you adjust: "I'm setting 0.80 here since your users likely phrase things in many different ways — it's more forgiving but may occasionally pass through an edge case."

Read the full file on GitHub · 143 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 143 lines · 117 tokens per session scan A a98d6584bcd2

Subscribe to this mod's changes

colang-gen is a skill published in the GitHub repository ShulkwiSEC/bb-huge (27 stars, last pushed 4mo ago), licensed MIT. It adds 117 tokens to every session and 1,671 once invoked, about $0.0005 per session on Opus 5.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-09-03.

Related

colang-gen compared with skills from other repositories

colang-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
colang-genShulkwiSEC/bb-hugeSkill274mo agoMITA117Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code
skill-review-responsenyldn/claude-octopusSkill4.5ktodayMITA19Claude Code
skill-copilot-providernyldn/claude-octopusSkill4.5ktodayMITA24Claude Code
continuum-testingshyftlabs/continuumSkill864d agoApache-2.0A80Claude Code
pwn-ai-agent-mistakes0dayInc/pwnSkill1024d agoMITA23Claude Code
pwn-ai-agent-reflect0dayInc/pwnSkill1024d agoMITA21Claude Code