Index of every page on this site: llms.txt
All skills
boshu2 avatar

/skill-builder

@596942d
by Boboshu2/agentops460 stars
44
Run it yourself

Create, repair, audit or consolidate agent skills (SKILL.md packages). Use when: writing or fixing a skill, its description or structure. Not for one-off lessons; use Memory.

Use this Skill: https://skilld.dev/gh/boshu2/agentops/skill-builder

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesbuild-mechanics.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Build and check mechanics

Detail for this skill's scripts/build.sh, scripts/heal.sh and recovery from partial creation. The audit report, its exit codes and the legacy audit schema are in audit checks.

Creation inputs and reports

Supply one input to build.sh: from-scratch <slug>, from-template <slug> --like <existing-slug> or absorb-external <slug> --from <path>. Without --like, from-template exits 1 with invalid template slug, which names the missing template, not the new slug. from-template only checks that the named skill exists and records it as source_hint; its scaffold is the same as from-scratch. For any mode the caller can supply SKILL_TIER, SKILL_DEPENDENCIES, SKILL_CAPABILITIES and SKILL_EFFECTS; lists are JSON arrays. An inline answer needs no output file.

build.sh and heal.sh --fix write under skills/ of an AgentOps source checkout: the one holding these scripts, or the root named by SKILL_BUILDER_REPO_ROOT (build) or HEAL_REPO_ROOT (heal). A root without scripts/generate-skill-mesh.py, such as a plugin install, is refused with exit 2 before anything is written. heal.sh --fix runs the source check first, so a target with findings exits 1 before that refusal is reached. heal.sh --check has no such requirement but accepts only targets under that root's skills/ and resolves a relative target against that root, not the current directory.

The shell entrypoints delegate creation and source checks to ao skills build and ao skills check-source. Development checkouts run their Go source; installed packages need ao 3.9 or later. Tests can set AO_SKILL_BUILDER_BIN to an explicit binary. Build JSON goes to stdout. To save it, pass --report /absolute/external/directory/build.json in an existing protected non-Git directory. Existing report paths are never replaced.

The build-report schema retains its old fields, permits a one-file source list, and adds authoring_state: scaffold and semantics_evaluated: false. structure_check_pass describes mechanical creation/projection only, even when true. There is no default workspace report; consumers of the former .agents/scratch/skill-builder/ path must select a report destination or read stdout.

Exit codes

Command Exit 0 Exit 1 Exit 2
build.sh Created; always reports scaffold state Invalid creation input (an invalid slug, a missing --like template or --from input) or an existing destination Wrapper syntax error, or the root is not a source checkout
heal.sh No finding, or findings in non-strict check mode Findings under --strict or --fix Invalid target, ao could not run, or --fix on a clean target outside a source checkout (findings exit 1 first)

A projection failure after build.sh created the source prints projection incomplete and exits 3 with the source and any report retained: finish the projections, never rerun creation, which hits the existing destination. heal.sh --fix also exits 3 when projection fails after a clean source check; the source is unchanged and projections may be partial. Exit 0 never means the skill is safe or effective.

Staged creation and recovery

Creation is staged, not atomic across source, catalogs, projections and reports. If a later stage fails, retain the created source and any report, capture the command's exit and diagnostic, and inspect which outputs exist. Report source creation separately from projection/check completion. structure_check_pass: false does not mean no files were created; a report-write failure can also leave source behind. Never call that partial result a completed package or remove it just to rerun creation. An existing target is deliberately rejected.

Recover from the observed stage within existing authority: repair the named obstruction, finish authoring the retained source if it is still a scaffold, then run the strict source check, owning projection commands and audit. Retain the failed report as evidence and use a new authorized report path if one is needed. Verify the retained source and final generated output; report remaining failures instead of resetting completion history.

Check and heal targets

Check/heal targets must be real direct children of skills/; reject missing paths, traversal and symlink spellings. Check mode is read-only. Fix mode checks the explicit targets, then regenerates the skill mesh only; it does not refresh plugin/skills/ or invent source behavior. Findings name their code, target and concrete issue. Checks cover the slug/name match, description, API version, metadata, live dependencies and linked resources.

AgentOps source checkout only: from the repository root, bash scripts/regen-all.sh refreshes every owned projection after a source edit and is the integrated projection recipe; python3 scripts/generate-skill-mesh.py is the existing scoped surface; installed skills ship neither. Do not repeat work already performed by build.sh unless source changes require it.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts10d3 checks · Risk SAFE
  • Gen Agent Trust Hub10d

    This skill provides a set of tools for managing AI agent skills, including building scaffolds, auditing for quality and conformance, and converting skills between different platforms. It relies on local scripts and the 'ao' CLI tool, performing file system operations and code compilation within a controlled repository environment.

  • Socket10d

    No alerts

  • Snyk10d

    Risk: LOW · No issues

Signed by skilld at 596942d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago
practices
[
  "pragmatic-programmer",
  "refactoring"
]
hexagonal_role
supporting
consumes
[]
Other metadata
produces
[
  "skill-source-package",
  "skill-hygiene-report",
  "converted-skill",
  "operationalization-proposal"
]
context_rel
[]
skill_api_version
1
user-invocable
true
metadata
{
  "capabilities": [
    "skill_builder",
    "heal_skill",
    "export_skill",
    "distill_expertise"
  ],
  "effects": [
    "write_skill_source",
    "write_build_report",
    "regenerate_skill_projections",
    "repair_skill_projections",
    "write_converted_skill_projection",
    "write_advisory_proposal"
  ],
  "canonical_status": "canonical",
  "disposition": "keep_specialist",
  "tier": "meta",
  "dependencies": [],
  "stability": "experimental"
}
output_contract
build-report.json for creation, audit-report.json for audit, target-valid exported files for conversion, or an advisory expertise proposal

README badge

README badge for boshu2/agentops/skill-builder