AGENT SKILL

opsward-diagnose

Diagnose the health of this project's AI agent setup. Use when the user asks to check, audit, or score the project's CLAUDE.md, skills, docs, or agent configuration.

License 许可
MIT
所属仓库
thorwhalen/opsward
最近更新
2026-11-09
Stars
★ 0
Forks
0

01 前言 Front Matter

name
gsd-audit-fix
metadata
{ "short-description": "Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit" }
description
Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit

03 SKILL.md 正文

<codex_skill_adapter>

A. Skill Invocation

  • This skill is invoked by mentioning $gsd-audit-fix.
  • Treat all user text after $gsd-audit-fix as {{GSD_ARGS}}.
  • If no arguments are present, treat {{GSD_ARGS}} as empty.

B. AskUserQuestion → request_user_input Mapping

GSD workflows use AskUserQuestion (Claude Code syntax). Translate to Codex request_user_input:

Parameter mapping:

  • header → header
  • question → question
  • Options formatted as "Label" — description → {label: "Label", description: "description"}
  • Generate id from header: lowercase, replace spaces with underscores

Batched calls:

  • AskUserQuestion([q1, q2]) → single request_user_input with multiple entries in questions[]

Multi-select workaround:

  • Codex has no multiSelect. Use sequential single-selects, or present a numbered freeform list asking the user to enter comma-separated numbers.

Execute mode fallback:

  • When request_user_input is rejected (Execute mode), present a plain-text numbered list and pick a reasonable default.

C. Task() → spawn_agent Mapping

GSD workflows use Task(...) (Claude Code syntax). Translate to Codex collaboration tools:

Direct mapping:

  • Task(subagent_type="X", prompt="Y") → spawn_agent(agent_type="X", message="Y")
  • Task(model="...") → omit (Codex uses per-role config, not inline model selection)
  • fork_context: false by default — GSD agents load their own context via <files_to_read> blocks

Parallel fan-out:

  • Spawn multiple agents → collect agent IDs → wait(ids) for all to complete

Result parsing:

  • Look for structured markers in agent output: CHECKPOINT, PLAN COMPLETE, SUMMARY, etc.
  • close_agent(id) after collecting results from each agent </codex_skill_adapter>

<objective> Run an audit, classify findings as auto-fixable vs manual-only, then autonomously fix auto-fixable issues with test verification and atomic commits.

Flags:

  • --max N — maximum findings to fix (default: 5)
  • --severity high|medium|all — minimum severity to process (default: medium)
  • --dry-run — classify findings without fixing (shows classification table)
  • --source <audit> — which audit to run (default: audit-uat) </objective>

<execution_context> @/Users/wilderherrera/Desktop/convision/.codex/get-shit-done/workflows/audit-fix.md </execution_context>

<process> Execute the audit-fix workflow from @/Users/wilderherrera/Desktop/convision/.codex/get-shit-done/workflows/audit-fix.md end-to-end. </process>

04 同仓库更多 Skills

thorwhalen
thorwhalen/opsward

my-skill

暂无简介

Skill与智能体开发
★ 0
thorwhalen
thorwhalen/opsward

opsward

Run opsward to assess and improve this project's AI agent setup. Use when the user says 'opsward', 'check my setup', 'improve my AI config', or wants a full audit and remediation.

★ 0
thorwhalen
thorwhalen/opsward

opsward-subagents

Decide which of a repo's skills should also run as subagents (in their own context), declare it in each skill's frontmatter, and generate or refresh the twin agent files with opsward. Use when a skill does bulky or read-heavy work whose output should stay out of the main context, when a skill needs a tool restriction or a cheaper model, when a hand-written agent duplicates a skill, when `opsward maintain` reports a `subagent_twin` finding, or when asked "should this skill be a subagent", "make this skill usable as a subagent", "generate agents from skills", or to sweep a repo for skill/agent pairs. Also usable as a subagent itself.

Skill与智能体开发
★ 0
thorwhalen
thorwhalen/opsward

opsward-maintain

Check documentation and AI setup for staleness, drift, or inconsistency. Use when the user asks to maintain, refresh, or update project docs and AI configuration.

★ 0
thorwhalen
thorwhalen/opsward

opsward-generate

Generate missing AI setup artifacts for this project. Use when the user asks to scaffold, create, or bootstrap CLAUDE.md, docs, skills, or agent configuration.

★ 0
thorwhalen
thorwhalen/opsward

opsward-diagnose

Diagnose the health of this project's AI agent setup. Use when the user asks to check, audit, or score the project's CLAUDE.md, skills, docs, or agent configuration.

★ 0