Source profileQuality 91/100

dongshuyan/compass-skills/skills/run-history-skill-builder/SKILL.md

run-history-skill-builder

Turn a completed task, browser flow, artifact pipeline, failure-recovery trace, or repeatedly refined workflow into a new reusable skill package or a reviewed skill-design plan. Use when the user asks to make a new skill from real run history, extract a reusable workflow from conversation/logs/files, summarize lessons into a new skill, or produce a plan before writing files. Do not use to upgrade an existing skill or to execute the business workflow itself.

Source repository stars
705
Declared platforms
0
Static risk flags
0
Last source update
2026-08-26
Source checked
2026-08-28

Decision brief

What it does: where it fits

Turn a completed task, browser flow, artifact pipeline, failure-recovery trace, or repeatedly refined workflow into a new reusable skill package or a reviewed skill-design plan.

Best for

  • Use when the user asks to make a new skill from real run history, extract a reusable workflow from conversation/logs/files, summarize lessons into a new skill, or produce a plan before writing files.

Not for

  • Do not use to upgrade an existing skill or to execute the business workflow itself.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/dongshuyan/compass-skills --skill "skills/run-history-skill-builder"
Safe inspection promptEditorial

Inspect the Agent Skill "run-history-skill-builder" from https://github.com/dongshuyan/compass-skills/blob/1b2e556ce6f293ba12e95e18d51995d6a969d52f/skills/run-history-skill-builder/SKILL.md at commit 1b2e556ce6f293ba12e95e18d51995d6a969d52f. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    1. Lock intent: decide whether the request is planonly, newsingleskill, routerskill, skillsuite, or existingskillupgradehandoff. 2. Lock evidence scope: confirm which conversation turns, files, logs, artifacts, diffs, browser flows, or transcripts you may read. 3. Lock output lo…

    Lock intent: decide whether the request is planonly, newsingleskill, routerskill, skillsuite, or existingskillupgradehandoff.Lock evidence scope: confirm which conversation turns, files, logs, artifacts, diffs, browser flows, or transcripts you may read.Lock output location before writing files.
  2. 02

    Language Policy

    Write all user-facing output in the user's language. Default to Chinese when the language is unknown.

    Write all user-facing output in the user's language. Default to Chinese when the language is unknown.
  3. 03

    Role

    Turn real run history into a new skill package, a plan-only skill design, or an upgrade handoff when the request is actually about an existing skill.

    Turn real run history into a new skill package, a plan-only skill design, or an upgrade handoff when the request is actually about an existing skill.
  4. 04

    Portability

    This skill is agent-agnostic. It should work in Codex, Claude Code, OpenCode, OpenClaw, Hermes, and similar local agent hosts that can read SKILL.md plus optional references/, scripts/, evals/, and agents/.

    Resolve from the directory that contains this SKILL.md.Let mean the host's available Python launcher: python3, python, or py -3.Do not assume a fixed skill root, shell, home-directory layout, or path separator.
  5. 05

    Architecture Choices

    Prefer replacement, merging, and omission over package bloat.

    planonly: the user wants a reviewed design or audit, not files.newsingleskill: one stable workflow or one tightly coupled workflow family.routerskill: one entry point that routes across several existing skills or phases.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars705SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
dongshuyan/compass-skills
Skill path
skills/run-history-skill-builder/SKILL.md
Commit
1b2e556ce6f293ba12e95e18d51995d6a969d52f
License
MIT
Collected
2026-08-28
Default branch
master
View the original SKILL.md

Run History Skill Builder

Language Policy

Write all user-facing output in the user's language. Default to Chinese when the language is unknown.

Role

Turn real run history into a new skill package, a plan-only skill design, or an upgrade handoff when the request is actually about an existing skill.

Portability

This skill is agent-agnostic. It should work in Codex, Claude Code, OpenCode, OpenClaw, Hermes, and similar local agent hosts that can read SKILL.md plus optional references/, scripts/, evals/, and agents/.

  • Resolve <skill-dir> from the directory that contains this SKILL.md.
  • Let <python> mean the host's available Python launcher: python3, python, or py -3.
  • Do not assume a fixed skill root, shell, home-directory layout, or path separator.
  • Placeholder paths such as <skill-dir>/scripts/... describe path segments, not a required separator style. On Windows, use the separator style that your shell or harness accepts.
  • Before writing files, lock the output directory. If the user does not provide one, propose a neutral local target such as the current repository's skills/ directory or the host agent's documented local skills directory, then wait for confirmation.

Workflow

  1. Lock intent: decide whether the request is plan_only, new_single_skill, router_skill, skill_suite, or existing_skill_upgrade_handoff.
  2. Lock evidence scope: confirm which conversation turns, files, logs, artifacts, diffs, browser flows, or transcripts you may read.
  3. Lock output location before writing files.
  4. Reconstruct the workflow from authorized evidence: user goal, real steps, failures, fixes, success proofs, and approval gates.
  5. Mine local or open-source patterns only when they help package the workflow more reliably.
  6. Separate reusable invariants from local accidentals such as one-time paths, account names, one-day product quirks, or temporary user preferences.
  7. Abstract the workflow into state gates, validation gates, scripts, references, examples, and evals. Delete weak routes that depend on subjective guesses.
  8. Choose the smallest package that preserves correctness.
  9. Write the skill only after the previous gates are satisfied.
  10. Validate, report remaining assumptions, and hand the package back with paths and checks.

Do not jump directly from "I saw a successful run" to "I wrote a skill". The missing middle layer is where portability, privacy, and generalization are decided.

Architecture Choices

  • plan_only: the user wants a reviewed design or audit, not files.
  • new_single_skill: one stable workflow or one tightly coupled workflow family.
  • router_skill: one entry point that routes across several existing skills or phases.
  • skill_suite: several independent workflows that should be released together but triggered separately.
  • existing_skill_upgrade_handoff: the real task is to improve an existing skill. Produce a clean handoff for $run-history-skill-upgrader instead of editing that skill here.

Prefer replacement, merging, and omission over package bloat.

Evidence And Scope

Allowed by default after intent is locked:

  • current visible conversation;
  • user-provided paths, artifacts, logs, screenshots, and transcripts;
  • current workspace files, diffs, tests, and generated outputs;
  • similar public skills or official docs read for packaging patterns.

Require explicit approval before reading:

  • broad local session archives unrelated to the current task;
  • browser cookies, local storage, session exports, or account caches;
  • passwords, tokens, API keys, verification codes, MFA data, or other credentials;
  • unrelated private folders or personal history outside the agreed scope.

Keep facts, inferences, and open assumptions separate. Never write secrets, hidden prompts, private account identifiers, or unrelated personal data into the released skill or its examples.

Design Rules

  • Keep SKILL.md focused on trigger boundary, role, workflow, safety gates, and reference navigation.
  • Put long branch-specific guidance in references/.
  • Put deterministic and repeated checks in scripts/.
  • Put trigger and regression samples in evals/ when the workflow is long-lived, high-risk, or easy to overfit.
  • Use examples only when they capture complex behavior, failure recovery, or boundary conditions. Every example must state the invariant and the non-goal.
  • User-owned decisions stay user-owned. Machine-checkable facts move to scripts, tests, schema checks, diffs, file-existence checks, or validators.
  • Do not create per-skill README, installation scripts, changelogs, or decorative files unless the user or release target explicitly requires them.
  • Treat agents/openai.yaml as an optional UI enhancement, not as the core logic.

Validation

Run the package validator bundled with this skill:

<python> <skill-dir>/scripts/validate_skill_package.py <target-skill-dir>

This bundled validator checks package structure, the portable Agent Skills frontmatter field set, referenced paths, JSON shape, Python syntax, and common private-path leaks. Its dependency-free frontmatter preflight accepts scalar fields, block text, and one-level string metadata; it rejects other YAML forms instead of guessing. A specific host may accept different syntax or a narrower field set, so its canonical validator remains authoritative for installation there. Neither structural check runs the eval cases or proves that the skill triggers correctly or improves behavior.

If the current host provides a canonical skill validator, run that too. On Codex-like hosts, this often means a quick_validate.py command from the platform's skill tooling.

Also run the smallest relevant technical checks:

  • python -m py_compile for modified Python scripts;
  • python -m json.tool for edited JSON files;
  • trigger review with the smallest useful set that includes a should-trigger case, a nearby should-not-trigger case, and a boundary case; add more only when risk or instability warrants it;
  • a leak scan for private absolute paths, credentials, hidden prompts, or environment-specific debris.

Do not claim completion if validation was skipped or failed. Report the gap and the remaining risk.

Final Response

Report:

  • the chosen package type;
  • the final skill path;
  • files created or intentionally omitted;
  • evidence sources actually used;
  • validation commands actually run and their results;
  • assumptions that still need user review;
  • whether the result is plan_only, a new skill package, or an upgrader handoff.

References

  • references/history-mining.md
  • references/open-source-pattern-mining.md
  • references/skill-design-protocol.md
  • references/self-repair-and-evals.md
  • references/examples.md
  • scripts/validate_skill_package.py
  • evals/evals.json

Frequently asked questions

What to verify before installation and use

What does the run-history-skill-builder source document cover?

Turn a completed task, browser flow, artifact pipeline, failure-recovery trace, or repeatedly refined workflow into a new reusable skill package or a reviewed skill-design plan.

How do I install run-history-skill-builder?

The source record exposes this install command: npx skills add https://github.com/dongshuyan/compass-skills --skill "skills/run-history-skill-builder". Inspect the command and pinned source before running it.

Alternatives

Compare before choosing

Computed 10014,706

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance

Computed 100147

oaustegard/claude-skills

featuring

Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre

Computed 9931,947

HKUDS/Vibe-Trading

strategy-generate

Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.

Computed 9982

vasilyu1983/AI-Agents-public

qa-testing-ios

Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.