skill-self-check
Deterministically audits an Agent Skill package, reports gate_verdict and paste-ready fixes, then verifies authorized repairs against a baseline.
Skill by xenos2025
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/xenos2025-skill-self-check
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, writing, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/skill-self-check
What's inside
- Skill name
skill-self-check- Description
- Deterministically audits an Agent Skill package, reports gate_verdict and paste-ready fixes, then verifies authorized repairs against a baseline. Use when users request audit, review, self-check, blocker diagnosis, prompt optimization, context efficiency, workflow Prompt validation, or pre-share validation. Do not use to create Skills, execute behavioral evaluations, make visual scorecards, or edit without approval.
- License
- MIT
- Instructions
- 190 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (30)
- CHECKLIST.md
- REPORT-TEMPLATE.md
- SKILL.md
- before-after.md · examples/
- SKILL.md · examples/fixtures/bad-commit-helper/
- role-contract.example.json · examples/
- role-prompt-behavior.example.json · examples/
- smoke-report-before-business.md · examples/
- smoke-report-before.md · examples/
- workflow-prompts.example.json · examples/
- deep-qualitative-audit.md · references/
- fix-templates.md · references/
- fix-verification.md · references/
- full-static-audit.md · references/
- gap-questions.md · references/
- pdca-smart.md · references/
- plain-language-response.md · references/
- prompt-optimization.md · references/
- role-archetypes.md · references/
- role-contract-audit.md · references/
- role-contract.json · references/
- role-prompt-behavior-eval.md · references/
- role-prompt-review.md · references/
- workflow-prompt-audit.md · references/
- hard_gates.py · scripts/
- role_contract_audit.py · scripts/
- role_prompt_behavior_check.py · scripts/
- run_full_audit.py · scripts/
- verify_fix.py · scripts/
- workflow_prompt_audit.py · scripts/
SKILL.md (first lines)
# Skill Self-Check Run a fast static review with deterministic gate status and ranked fixes. Full checks: [CHECKLIST.md](CHECKLIST.md). Workflow prompt audit: N/A — one agent instruction context; no separate model calls. ## Role contract - **Role:** Skill audit verifier - **Purpose:** Report script gates and verify approved fixes. - **Responsibilities:** Run the standard static checkers before reporting. - **Responsibilities:** Separate model advice from script results. - **Out of scope:** Do not create Skills, run behavior tests, or make unapproved edits. - **Decision authority:** Report only the script gate_verdict. - **Decision authority:** Verify approved fixes against a baseline. - **Handoff to:** Send business-readiness gaps to agent-work-readiness. - **Handoff to:** Send external-action safety to skill-ship-safety. Machine contract: [references/role-contract.json](references/role-contract.json). <authority_contract> - [hard_gates.py](scripts/hard_gates.py) owns package health, `gate_verdict`, script findings, severity, and exit code. - [verify_fix.py](scripts/verify_fix.py) owns saved-baseline verification. - Script scores are informational only. - Model review cannot change script status, counts, severity, or exit code. - Edit the target only after explicit user authorization. </authority_contract> ## When to use - Review an existing Skill before controlled use, installation, or sharing. - Diagnose deterministic blockers and provide paste-ready fixes. - Recheck user-authorized repairs against a saved baseline. ## When NOT to use - Create a Skill from scratch. - Run behavioral evaluations or multi-agent smoke tests. - Generate profiles, presentations, or visual scorecards. ## Check axes [CHECKLIST.md](CHECKLIST.md) owns four result families: - **Gate:** package health and `gate_verdict` (script; blocking); - **Diagnostics:** structure, contract, support, token, and loops (script); - **Qualitative:** Predictability, Anatomy, PDCA, SMART (explicit advisory route); - **Role/Prompt:** workflow applicability and role contract (standard static status), plus explicit model-owned optimization. ## Inputs 1. Locate the target skill directory (must contain `SKILL.md`). 2. Prefer an explicit path from the user. 3. If missing: ask once, or use the skill they just created/opened in this conversation. **Completion criterion:** You know the absolute path to the target skill directory. ## Process ### Standard audit — three static statuses For every general audit, review, or self-check, run all three bundled checkers: ```bash python scripts/hard_gates.py /absolute/path/to/target-skill --pretty python scripts/workflow_prompt_audit.py /absolute/path/to/target-skill --pretty python scripts/role_contract_audit.py /absolute/path/to/target-skill --pretty ``` `hard_gates.py` alone owns `gate_verdict`; workflow and role statuses remain separate. Run only `hard_gates.py` when the user explicitly asks for a fast or gate-only check. For multi-Skill packs, pass `--repo-root /absolute/repository` and preserve it during [fix verification](references/fix-verification.md). Escaping paths stay Critical. If fixes may follow, save the same run as a baseline outside the target and source repository: ```bash python scripts/hard_gates.py /absolute/path/to/target-skill \ --out-json /private/path/baseline.json --pretty ``` - Parse stdout JSON; stderr is a human summary. - Read `package_health`, `gate_verdict`, `gate_reasons`, and `findings` first. - Exit 1 means the gate failed; report fixes normally. - Scores/metrics are informational. Show maturity only for an assessable package. **Completion criterion:** All three JSON reports are parsed; core gate reasons, workflow applicability, and role mode/status are available. ### Rank and explain deterministic findings Map script `findings` into [plain-language response](references/plain-language-response.md) without changing any Critical or creating a second audit. For mechanical `PKG.*`/`EFF.*`, write the rewrite from [fix-templates.md](references/fix-templates.md) instead of asking. <output_contract> 1. Gate verdict plus workflow Prompt and role-contract statuses. 2. Every script Critical, each with 问题 → 为什么 → 可直接采用的建议改法. 3. At most three highest-priority Should fix findings. 4. One next action: 「按意见改」, or request a named advisory/full route. </output_contract> ## Selected routes Load only selected references. A request that names Prompt, context, workflow, role, enhancement, or optimization selects that route. “Did you review X?” also means run the read-only X route now unless the user explicitly asks for status
From xenos2025/Skill-Self-Check, MIT.
More from xenos2025/Skill-Self-Check
- 0.563score
agent-work-readiness
xenos2025
Guides beginners and teams from verbal, repeated work into a scored Agent-ready work package with clear goals, workflow, roles, standards, permissions…
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
skill-ship-safety
xenos2025
Audits static safety evidence for a skill that sends email / WhatsApp or triggers other external actions (安全真发): verifies documented commands exist…
SkillBFreshness: B★ 2Claude Code +9 - 0.512score
pm-workflow-planning
xenos2025
Generates an evidence-backed business workflow and an Agent Skill proposal by interviewing operators and product owners.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/xenos2025/Skill-Self-Check
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from xenos2025
- 0.563score
agent-work-readiness
xenos2025
Guides beginners and teams from verbal, repeated work into a scored Agent-ready work package with clear goals, workflow, roles, standards, permissions…
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
skill-ship-safety
xenos2025
Audits static safety evidence for a skill that sends email / WhatsApp or triggers other external actions (安全真发): verifies documented commands exist…
SkillBFreshness: B★ 2Claude Code +9 - 0.512score
pm-workflow-planning
xenos2025
Generates an evidence-backed business workflow and an Agent Skill proposal by interviewing operators and product owners.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
skill-self-check. Agent Mart. https://agentmart.dev/skills/xenos2025-skill-self-check (last updated 2026-10-24)