Prompt Lab
Mathews-Tom/armory
LLM prompt engineering: analyzes failure modes, generates variants (direct, few-shot, CoT), designs rubrics, produces test suites.
Review the quality of an agent's tool descriptions, system/agent prompts, or SKILL.md files against current agent-engineering best practices.
$ npx skills add microsoft/Huabu --skill review-agent-primitives -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/Huabu review-agent-primitives --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-agent-primitives .claude/skills/review-agent-primitives && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "review-agent-primitives" agent skill from https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitives into .claude/skills/review-agent-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-agent-primitives", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitivesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/Huabu --skill review-agent-primitives -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/Huabu review-agent-primitives --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/review-agent-primitives .agents/skills/review-agent-primitives && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "review-agent-primitives" agent skill from https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitives into .agents/skills/review-agent-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-agent-primitives", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/Huabu --skill review-agent-primitives -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/Huabu review-agent-primitives --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/review-agent-primitives .cursor/skills/review-agent-primitives && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "review-agent-primitives" agent skill from https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitives into .cursor/skills/review-agent-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-agent-primitives", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/Huabu.git --path .agents/skills/review-agent-primitives--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/Huabu --skill review-agent-primitives -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/Huabu review-agent-primitives --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/review-agent-primitives .gemini/skills/review-agent-primitives && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "review-agent-primitives" agent skill from https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitives into .gemini/skills/review-agent-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-agent-primitives", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/Huabu review-agent-primitivesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/Huabu --skill review-agent-primitives -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/review-agent-primitives .github/skills/review-agent-primitives && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "review-agent-primitives" agent skill from https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitives into .github/skills/review-agent-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-agent-primitives", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/Huabu --skill review-agent-primitives -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/Huabu review-agent-primitives --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/review-agent-primitives .opencode/skills/review-agent-primitives && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "review-agent-primitives" agent skill from https://github.com/microsoft/Huabu/tree/main/.agents/skills/review-agent-primitives into .opencode/skills/review-agent-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "review-agent-primitives", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
review-agent-primitivesReview the quality of an agent's tool descriptions, system/agent prompts, or SKILL.md files against current agent-engineering best practices.
Review Agent Primitives is an agent skill from microsoft/Huabu, published by the product's own GitHub organization. Review the quality of an agent's tool descriptions, system/agent prompts, or SKILL.md files against current agent-engineering best practices. USE WHEN asked to review, audit, critique, score, or improve a tool description, agent prompt, system prompt, or skill; when a tool is called with wrong parameters or not called when it should be; when an agent makes redundant or repeated tool calls; or before shipping a new tool/prompt/skill; or when deciding which primitive a behavior belongs in (tool vs system prompt vs…
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/agent-prompt.md`, `references/skill-quality.md` and `references/tool-description.md`).
It sits in AI & LLM Engineering, covering Prompt engineering and Skill authoring. The repository describes itself as: Huabu, where you and your agents think together. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit dc0cfa9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Review Agent Primitives loads about 2.3k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 161 tokens; SKILL.md has 1,077 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microsoft/Huabu at commit dc0cfa9, republished under its MIT licence (© microsoft). 1,077 words, ~2,340 tokens.
.claude/skills/review-agent-primitives/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Evaluate three artifacts that steer an agent's behavior — tool descriptions, agent/system prompts, and skills (SKILL.md) — against a single, source-backed rubric. Reviews all three with one shared foundation so overlap, contradictions, and duplicated context are caught in one pass.
SKILL.md.These five principles come from the "context engineering" line of thinking and cut across every artifact. Score them once, here, before diving into the type-specific rubric — do not repeat them per section.
minimal ≠ short: include everything the reader needs, nothing it doesn't. Cut restated rules, filler, and dead caveats.user_id, not user).name/description (for a skill) and the name/description (for tool search) are the discovery surface — keyword-rich and distinctive. For large tool/skill libraries, defer loading and keep only the few highest-use items resident, so context isn't spent on definitions the task doesn't need.Pass / Warn / Fail each.| Artifact | Reference |
|---|---|
| Tool description / spec | references/tool-description.md |
| Agent / system prompt | references/agent-prompt.md |
Skill (SKILL.md) | references/skill-quality.md |
description strings, a SKILL.md and its sibling reference files, or two peer skills. The cross-artifact-type lens misses these because both copies are the same type; grep the distinctive phrase to find every copy, then flag lockstep-sync risk (see the fan-out signal under Placement mode).Trigger this when the ask is "where should this go?" rather than "is this good?", or whenever a review surfaces content sitting in the wrong artifact. Decide with the table, then recommend moving misplaced content to its correct owner.
| Put it in… | When the content is… | Keep OUT |
|---|---|---|
| System prompt / always-on instructions | Global behavior, constraints, tone, refusal style; small, stable "always do X" policies that apply every turn | Long multi-step procedures — they bloat every turn and go brittle |
| Tool | An action on the world: calls external services/DBs, creates side effects, fetches live state. Narrowly scoped, strongly-typed inputs, explicit side effects | Static procedural knowledge; anything with no side effect |
Skill (SKILL.md) | A reusable, multi-step procedure; branching/conditional workflow; needs scripts/templates/assets; used sometimes, not every turn; wants independent versioning | One-off tasks; always-on policy; pure live-data fetch |
| Few-shot examples | Canonical, diverse demonstrations of expected behavior | Exhaustive edge-case dumps. Workflow-specific examples belong in the skill, not the system prompt |
Decision signals:
descriptions, a SKILL.md + its references/, two peer skills) → this is a maintainability/lockstep-sync smell, not a type-placement question. Converge to one canonical statement + pointers unless the copies genuinely diverge by audience/execution path — then keep them but call out that they must change together, and make sure the review surface actually includes every copy (e.g. schema files, not just the tool-definition file). When the fanned-out fact is a machine-derivable enumeration (e.g. a prose list of command/variant names mirroring a schema union), the strongest form of "converge" is to derive it from the schema (codegen or a compile-time guard) so the copies cannot drift at all.Each checklist item gets one verdict, with a concrete finding that quotes the exact offending line:
Do not invent numeric scores per line; aggregate to one headline verdict per dimension.
Always produce, in this order:
Pass / Warn / Fail overall + the single highest-impact issue (reference it by ID, e.g. F1).ID | Dimension | Verdict | Evidence (quoted line) | Fix. Give every issue a stable ID: F1, F2, … for each Fail and W1, W2, … for each Warn, numbered in order of impact. Pass rows need no ID.F1 → …), ordered by impact on wrong/redundant tool calls first (all F before any W).Keep evidence quotes short. One row per real issue; do not pad the table to look thorough.
© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in .agents/skills/review-agent-primitives of microsoft/Huabu.
Open the folder on GitHubat commit dc0cfa9
Review Agent Primitives next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Review Agent Primitives this skillmicrosoft/Huabu | 157 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Prompt LabMathews-Tom/armory | 328 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Skill With Prompt EngineeringLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.1k | Automated safety check: Pass | MIT | |
| A-Evolve Agent Improvementaiming-lab/AutoResearchClaw | 15k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Workflow Schema Tuningbreaking-brake/cc-wf-studio | 5.4k | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| Writing Quotationmathbullet/skills | 173 | — | ~1.7k | Automated safety check: Pass | MIT |
Mathews-Tom/armory
LLM prompt engineering: analyzes failure modes, generates variants (direct, few-shot, CoT), designs rubrics, produces test suites.
LeoYeAI/openclaw-master-skills
A Prompt Engineering assistant based on Gen AI Space's 16-technique framework.
aiming-lab/AutoResearchClaw
Diagnoses where an agent failed across runs and turns the findings into new skills, system prompt patches and knowledge entries, using the A-Evolve loop.
breaking-brake/cc-wf-studio
Guides edits to cc-wf-studio's workflow schema so AI agents generate better workflows, treating schema text as prompt engineering rather than validation.
mathbullet/skills
Formatting rules for quoting external sources (papers, articles, web pages, prompt templates) inside a Markdown document.
severity1/claude-code-prompt-improver
This skill enriches vague prompts with targeted research and clarification before execution.
microsoft/Huabu
Expert code review of current git changes with a senior engineer lens.
microsoft/Huabu
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version.
microsoft/Huabu
Space mental model (the infinite work surface), tool boundaries, and command reference.
microsoft/Huabu
Review the Huabu operate agent's three steering artifacts at their fixed repo locations — system prompt, tool descriptions, and skills.
microsoft/Huabu
Coordinate one or more GitHub issues through isolated Git worktrees, durable Huabu Tasks, and dedicated Fixing Agent Threads.
microsoft/Huabu
Create and revise editable slide decks, PowerPoint files, and slide images with DeepV.
Categories
Review the quality of an agent's tool descriptions, system/agent prompts, or SKILL.md files against current agent-engineering best practices. Review Agent Primitives is an agent skill from microsoft/Huabu, published by the product's own GitHub organization.md files against current agent-engineering best practices.
Review Agent Primitives fits situations like: asked to review; improve a tool description; A tool is called with wrong parameters; not called when it should be.
Run `npx skills add microsoft/Huabu --skill review-agent-primitives -a claude-code`. Or copy the skill folder (.agents/skills/review-agent-primitives in microsoft/Huabu) into .claude/skills/review-agent-primitives in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/Huabu --skill review-agent-primitives -a codex`. Or copy the skill folder (.agents/skills/review-agent-primitives in microsoft/Huabu) into .agents/skills/review-agent-primitives in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/Huabu --skill review-agent-primitives -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-agent-primitives, .gemini/skills/review-agent-primitives, .github/skills/review-agent-primitives and .opencode/skills/review-agent-primitives in your project.
SKILL.md names no scripts, command-line tools or credentials: Review Agent Primitives is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Review Agent Primitives is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Review Agent Primitives: Prompt Lab (Mathews-Tom/armory, 328 stars), Skill With Prompt Engineering (LeoYeAI/openclaw-master-skills, 2.2k stars), A-Evolve Agent Improvement (aiming-lab/AutoResearchClaw, 15k stars) and Workflow Schema Tuning (breaking-brake/cc-wf-studio, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/Huabu, which has 157 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.
Source: microsoft/Huabu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.