Agent skill
certainty-grade
Apply HIGH/MEDIUM/LOW certainty grading to all agent findings and recommendations. Use to gate human review, auto-fix, or autonomous action.
Install this agent skill to your Project
npx add-skill https://github.com/elasticdotventures/_b00t_/tree/main/plugins/next-task/skills/certainty-grade
SKILL.md
Certainty Grade Framework
All agent findings MUST include a certainty grade. Grade determines action path.
Grades
| Grade | Basis | Action |
|---|---|---|
HIGH |
Deterministic: regex match, static check, type error, compiler output | Auto-fix permitted |
MEDIUM |
Heuristic: code ratio analysis, pattern frequency, structural smell | Flag for review |
LOW |
AI judgment: semantic meaning, intent, contextual inference | Human gate required |
Steps
- Identify the finding type. # output: finding_type (deterministic|heuristic|semantic)
- Assign grade:
HIGHif finding_type == deterministic (provable without AI)MEDIUMif finding_type == heuristic (pattern-based, probabilistic)LOWif finding_type == semantic (requires AI reasoning)
output: certainty (HIGH|MEDIUM|LOW)
- Attach grade to finding in output. Format:
[HIGH] <finding>,[MEDIUM] <finding>,[LOW] <finding> - For batched findings, group by certainty. # output: grouped_findings
Action Gates
HIGH → auto-apply fix if safe, log result
MEDIUM → surface to user, suggest fix, await confirmation
LOW → block action, require explicit human approval, explain reasoning
Output Format
[HIGH] console.log() at src/foo.ts:42 — remove (debug artifact)
[MEDIUM] function doThing() lacks error handling — review
[LOW] variable naming may be misleading given domain context — human review
Integration
Used by: /next-task, /code-quality, all agents that produce findings.
b00t MUST grade all MCP tool outputs before acting on them.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
datum-system
Helps work with the b00t datum system - TOML-based configuration for AI models, providers, and services. Datums are stored in ~/.dotfiles/_b00t_/ and specify WHICH environment variables are required (not the values). Enables DRY approach by centralizing configuration in Rust, exposed to Python via PyO3.
dry-philosophy
Don't Repeat Yourself (DRY) and Never Reinvent the Wheel (NRtW) - core b00t principles. Use existing libraries, leverage Rust via PyO3 instead of duplicating logic in Python, and contribute to upstream projects rather than fork privately.
direnv-pattern
Implements the b00t environment management pattern: direnv → .envrc → dotenv → .env where datums specify WHICH environment variables are required and .env contains the actual secret VALUES. Ensures automatic environment loading per-project.
executive-role
Defines the shared role, responsibilities, and operating principles for an Executive agent in the b00t hive. This skill uses Rhai scripting to provide model-specific directives.
aws-cli
CLI-first AWS orchestration skill for Lambda, ECS/Fargate, and S3 workflows rooted in `.☁️` runbooks.
b00t
Didn't find tool you were looking for?