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 lingxling/awesome-skills-cn --skill ai-code-generation-guardrailsgit clone --depth 1 https://github.com/lingxling/awesome-skills-cnWrote 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/lingxling/awesome-skills-cn/ai-code-generation-guardrails)<a href="https://agentmods.dev/skills/lingxling/awesome-skills-cn/ai-code-generation-guardrails"><img src="https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/ai-code-generation-guardrails/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/lingxling/awesome-skills-cn/ai-code-generation-guardrails"><img src="https://agentmods.dev/badge/skills/lingxling/awesome-skills-cn/ai-code-generation-guardrails.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.00031 | $0.01243 |
| Opus 5.5 | $0.00012 | $0.00497 |
| Sonnet 5.5 | $0.00006 | $0.00249 |
| Haiku 4.5 | $0.00003 | $0.00124 |
Grade A, and why
ai-code-generation-guardrails 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 1mo 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.
This is a copy
100% identical to ai-code-generation-guardrails — 191 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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.
AI Code Generation Security Guardrails
What it is: Defines automated AST validation filters, forbidden pattern checks, and boundary invariants for code synthesized by generative AI models.
Overview
Provides a standardized, auditable framework and data model for AI Code Generation Security Guardrails operations across distributed engineering and decentralized application systems.
When to Use This Skill
- When formalizing architectural contracts, security invariants, or operational limits for AI Code Generation Security Guardrails.
- When cross-functional review is required between protocol developers, smart contract auditors, and AI engineering agents.
- When generating reproducible CSV, SQL DDL, JSON Schema, and Notion property registers for tracking compliance.
How It Works
- Define the parameters, thresholds, and identity bindings required for the target operational register.
- Select appropriate boundary enforcement values from validated enum select sets.
- Export standardized artifacts (CSV table, SQL DDL, JSON Schema) to integrate into validation CI pipelines.
Field Reference
| # | Field Name | Type | SQL Type | JSON Schema Type | Notion Property Type | Example Value |
|---|---|---|---|---|---|---|
| 1 | Guardrail Policy ID | id |
SERIAL PRIMARY KEY |
integer |
Text | SEC-001 |
| 2 | Target Language Pipeline | select |
VARCHAR(32) |
string |
Select | Rust (Soroban) |
| 3 | AST Security Scanner | text |
VARCHAR(64) |
string |
Text | cargo-audit & clippy |
| 4 | Dangerous Primitives Filter | select |
VARCHAR(16) |
string |
Select | Yes |
| 5 | Disallowed Unsafe Blocks | select |
VARCHAR(16) |
string |
Select | Enforced Strict |
| 6 | Reentrancy Detection Rule | select |
VARCHAR(32) |
string |
Select | CEI Pattern Enforced |
| 7 | Prompt Injection Protection | select |
VARCHAR(32) |
string |
Select | Dual-Layer Boundary |
| 8 | Max Allowed Cyclomatic Complexity | number |
INTEGER |
number |
Number | 15 |
| 9 | Pipeline Enforcement Status | select |
VARCHAR(32) |
string |
Select | Blocking CI Gate |
| 10 | Lead Security Engineer | text |
VARCHAR(64) |
string |
Text | Ranjeet2063 |
| 11 | Policy Verification Date | date |
DATE |
string, format: date |
Date | 2026-10-01 |
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.
- 1mo ago First seen · 143 lines · 31 tokens per session scan A 15fe9f2c8fd4
ai-code-generation-guardrails is a skill published in the GitHub repository lingxling/awesome-skills-cn (342 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 1,243 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ai-code-generation-guardrails, differing in 191 lines, and is treated as a copy.
ai-code-generation-guardrails compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-code-generation-guardrailslingxling/awesome-skills-cn | Skill | 342 | 1mo ago | MIT | A | 31 | Claude Code |
| ai-code-generation-guardrailssickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 35 | Claude Code |
| ai-code-generation-guardrailsiradoweck/antigravity-awesome-skills | Skill | 31 | 5d ago | MIT | A | 35 | Claude Code |
| simpBeamusWayne/simp-skill | Skill | 351 | 6d ago | MIT | A | 36 | Claude Code |
| apex-skillifytonone-ai/tonone | Skill | 85 | yesterday | MIT | A | 41 | Claude Code |
| resemble-detectPrat011/awesome-llm-skills | Skill | 1.9k | 4mo ago | none | A | 45 | Claude Code, Codex |
| algorithmic-artPrat011/awesome-llm-skills | Skill | 1.9k | 4mo ago | none | A | 62 | Claude Code, Codex |