.agents/skills/create-oat-skill/SKILL.md
Use when adding a new oat-* workflow skill or lifecycle action. Scaffolds the skill with OAT conventions like mode assertions, progress banners, and project-root resolution.
npx skillsauth add tkstang/open-agent-toolkit create-oat-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a new OAT workflow skill under .agents/skills/ that follows OAT conventions (mode assertion, progress banners, project resolution, and safe bash patterns).
This skill is a specialization of the general skill-creation workflow.
.agents/skills/create-agnostic-skill/SKILL.md (progressive disclosure, section layout, examples, troubleshooting, success criteria).create-agnostic-skill: include version: 1.0.0 for new skills and bump patch/minor/major on future edits.{PROJECTS_ROOT} + local-config active-project resolution, and OAT-safe bash patterns).Use when:
oat-* workflow skillDon’t use when:
Parse from $ARGUMENTS:
oat-backlog-refine, oat-archive-project)If not provided, ask the user for:
Use when [trigger condition]. [What it does for disambiguation].oat-* (should be for this skill)activeProject in .oat/config.local.json) or is repo-levelUse .agents/skills/create-oat-skill/references/oat-skill-template.md as the base.
Required sections (don’t omit):
## Mode Assertion## Progress Indicators (User-Facing) (with separator banner)### Step 0: Resolve Active Project (if project-scoped)## Success CriteriaRequired frontmatter metadata:
version: 1.0.0 for new skills.Progress indicators (required):
OAT ▸ {LABEL} (uppercase label)Project root resolution (required for project-scoped skills):
{PROJECTS_ROOT} via:
$OAT_PROJECTS_ROOT env varoat config get projects.root.oat/projects/shared.oat/projects/shared directly except as the fallback.Active project (required for project-scoped skills):
activeProject in .oat/config.local.json as the pointer.{project-name}, derive PROJECT_PATH="${PROJECTS_ROOT}/{project-name}", then persist with oat config set activeProject "$PROJECT_PATH".Bash safety (recommended):
set -eu, avoid pipefail unless explicitly handled).Question handling (required when the skill needs user decisions):
AskUserQuestion when availableCreate:
.agents/skills/{skill-name}/SKILL.mdIf the skill needs templates/scripts, add:
.agents/skills/{skill-name}/references/….agents/skills/{skill-name}/scripts/…Sync the skill to provider views:
oat sync
Run OAT validator and resolve findings:
pnpm oat:validate-skills
New OAT skills must be registered in two places so oat init tools can install them for users.
Ask the user: "Should this skill be distributed via oat init tools? If so, which category: ideas, workflows, or utility?"
Category guidance:
oat-idea-* skills for brainstorming and captureoat-project-*, oat-repo-*, oat-worktree-* skills for project lifecycle and codebase operationsoat-review-provide, oat-agent-*)If the user confirms, make both of these changes:
1. Add to packages/cli/scripts/bundle-assets.sh
Add the skill name to the SKILLS array (alphabetical within its group):
SKILLS=(
# ... existing entries ...
{skill-name}
)
2. Add to the corresponding TypeScript constant
| Category | File | Constant |
| --------- | --------------------------------------------------------------------- | ----------------- |
| ideas | packages/cli/src/commands/init/tools/ideas/install-ideas.ts | IDEA_SKILLS |
| workflows | packages/cli/src/commands/init/tools/workflows/install-workflows.ts | WORKFLOW_SKILLS |
| utility | packages/cli/src/commands/init/tools/utility/install-utility.ts | UTILITY_SKILLS |
Add the skill name to the array.
3. Rebuild and test
pnpm build
pnpm test
Verify the skill appears in packages/cli/assets/skills/ after build. If a test asserts the exact skill list for the category (e.g., non-interactive mode expectations), update that test to include the new skill.
/create-oat-skill oat-backlog-refine
We should add a new OAT skill to archive completed projects. Create the skill with the standard OAT sections and progress banners.
.agents/skills/{skill-name}/SKILL.mdversion: (1.0.0 for new skills)AGENTS.mdpnpm oat:validate-skills passesbundle-assets.sh and the appropriate category constant, tests passdocumentation
Use when OAT implementation changes and repository reference docs must be synchronized. Updates .oat/repo/reference to match current behavior.
business
Merge multiple analysis artifacts into a single coherent report with provenance tracking. Reads existing artifacts from /deep-research, /analyze, and /compare.
testing
Use when the user questions or suspects an agent claim is wrong. Adversarially gathers evidence to verify or refute the claim using the best sources available in the current environment.
tools
Use when prioritizing backlog work or evaluating a roadmap. Produces value-effort ratings, dependency mapping, and execution recommendations.