guardrail-authoring
Create or update vendor-neutral project guardrails under .agents/guardrails and optionally generate thin Claude, Codex, or Gemini hook/config adapters. Use when a user wants hookify-like behavior, safety rules, tool-use constraints, or repeatable enforcement without making a vendor-specific hook format the source of truth.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- guardrail-authoring
- description
- Create or update vendor-neutral project guardrails under .agents/guardrails and optionally generate thin Claude, Codex, or Gemini hook/config adapters. Use when a user wants hookify-like behavior, safety rules, tool-use constraints, or repeatable enforcement without making a vendor-specific hook format the source of truth.
03 SKILL.md 正文
<!-- agent-workbench: managed portable-skill -->
Guardrail Authoring
Dispatch
Use the tier, delivery boundary, and escalation rule for guardrail-authoring in AI_AGENT_GUIDE.md's Skill Model and Reasoning Routing table, and resolve the tier through the active platform binding.
Workflow
- Read
.agents/prompts/create-guardrail.mdif present. - Capture the rule intent, trigger pattern, decision, and remediation message.
- Write the canonical rule to
.agents/guardrails/<slug>.md. - Generate vendor-specific hook/config adapters only when explicitly requested.
- Validate any generated JSON, TOML, shell, PowerShell, Python, or JavaScript.
Guardrails
- Prefer guidance when enforcement is not deterministic.
- Keep executable hooks project-local.
- Do not install global hooks or marketplace plugins.
04 同仓库更多 Skills
sync-agent-workbench
Synchronize the fixture workbench.
sync-agent-workbench
Synchronize, audit, or repair composable agent-workbench policy in a project. Use when a user wants canonical AI_AGENT_GUIDE.md, thin vendor loader entrypoints, project-selected profiles, portable prompts, and standard Agent Skills without depending on a marketplace, plugin, global config, or submodule.
skill-authoring
Create or update portable Agent Skills under .agents/skills with concise SKILL.md instructions and optional scripts, references, or assets. Use when a user wants skill-creator behavior that works across Codex, Gemini, Claude Code, OpenCode, or other agents without relying on one vendor's built-in creator.
math-pdf-reader
Read, transcribe, summarize, or verify mathematical PDFs with high fidelity by combining rendered-page inspection, cautious text extraction, version-matched source checks, and explicit uncertainty. Use for theorem, proof, formula, notation, attribution, or bibliographic work where ordinary PDF text extraction can silently corrupt mathematical content.
loop-until-done
Keep working on a requested task through bounded work, root-cause diagnosis, verification, and retry iterations until explicit completion criteria are met or a maximum iteration limit is reached. Use for Ralph-style self-correction without requiring Claude plugins, Codex plugins, Gemini extensions, or hook support.
linus-review
Run a strict Linus-style code review focused on correctness, backward compatibility, simplicity, data structures, special cases, hardcoded values, root-cause proof, maintainability, and verification. Use when the user asks for Linus mode, Linus review, a blunt maintainer review, harsh review, kernel-style review, or an especially skeptical code review.