best-practices

best-practices is a skill for Claude Code from sd0xdev/sd0x-harness. It costs 101 tokens per session (2,299 once invoked), scanned A, original, MIT.

A procedure for auditing a software implementation against accepted industry practices. It produces a verdict, a roadmap for closing gaps, and evidence from a required adversarial debate.

In plain words
What is it for?
Use it to run a best-practices audit with a comprehension plan, performance analysis, a debate session, and a final OK, WARN, or FAIL report.
Why use it?
It makes quality or compliance checks more structured and exposes gaps in areas such as performance. The audit is rejected if required planning, debate, or evidence is missing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Part of the sd0x-dev-flow plugin — 101 skills, 16 agents, 5 hooks shipped together

Good fit Use it to run a best-practices audit with a comprehension plan, performance analysis, a debate session, and a final OK, WARN, or FAIL report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sd0xdev/sd0x-harness/best-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sd0xdev/sd0x-harness --skill best-practices
Clone the repo
git clone --depth 1 https://github.com/sd0xdev/sd0x-harness

Made for: Claude Code.

Or install sd0x-dev-flow, the plugin that ships this one along with the rest of its 101 skills, 16 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/best-practices/github.svg)](https://agentmods.dev/skills/sd0xdev/sd0x-harness/best-practices)
Your own site
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/best-practices"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/best-practices/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/best-practices"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,299 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 102
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00101 $0.02299
Opus 5.5 $0.00040 $0.00920
Sonnet 5.5 $0.00020 $0.00460
Haiku 4.5 $0.00010 $0.00230

Measured 10d ago against content hash c5256f794288, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

best-practices scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Enumerates other installed skillslowAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

> **agent-browser detection**: Attempt `Skill("agent-browser", ...)` first. If error (not installed), fall through to Priority 2. Filesystem check (`ls .claude/skills/agent-browser`) is diagnostic only — may give false n

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/best-practices/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Best Practices Audit

Supplementary Agent

Dispatch performance dimension analysis:

Agent({ description: "Analyze performance-related best practices compliance", subagent_type: "performance-optimizer", prompt: Analyze codebase for performance best practices related to: <topic> Check for N+1 queries, memory leaks, blocking operations, and caching issues. })

Non-Negotiable Rules (Normative Source)

SKILL.md is the normative source for these rules. Reference files elaborate but do not override.

# Rule Violation =
1 Phase 0 Comprehension Gate: Before any Phase 1–4 investigative call, output the audit plan block (see command definition) Audit invalid
2 Phase 3 must invoke /codex-brainstorm via Skill tool — a raw transport debate is invalid Audit invalid
3 Phase 4 must include Debate threadId (non-empty, from Phase 3 session) Report rejected
4 Phase 4 must include Debate Conclusion referencing specific Phase 3 rounds (not blank, not placeholder) Report rejected

Trigger

  • Keywords: best practices audit, industry standards check, compliance audit, benchmark compliance, practice alignment, standards verification
  • User has a current target (repo/service/module) to audit against standards
  • Intent is conformance judgment (OK/WARN/FAIL), not open-ended exploration

When NOT to Use

Scenario Alternative
Broad research / discovery / multi-source exploration /deep-research
Pure code review /codex-review-fast
Architecture design /codex-architect
Security-only audit /codex-security

MECE boundary: /best-practices produces a conformance judgment (verdict + gap + debate proof). /deep-research produces a discovery synthesis (claim registry + coverage matrix + score). "What are best approaches for X?" -> /deep-research. "Does our code follow best practices for X?" -> /best-practices.

Read the full file on GitHub · 196 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed c5256f794288
  2. 3mo ago Changed 08cb8f5ced33
  3. 3mo ago First seen · 196 lines · 101 tokens per session scan A 2f492b5f632e

Subscribe to this mod's changes

best-practices is a skill published in the GitHub repository sd0xdev/sd0x-harness (197 stars, last pushed 11d ago), licensed MIT. It adds 101 tokens to every session and 2,299 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

best-practices compared with skills from other repositories

best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
best-practicessd0xdev/sd0x-harnessSkill19711d agoMITA101Claude Code
code-reviewromiluz13/cc10xSkill1671mo agoMITA53Claude Code
codebase-hygieneromiluz13/cc10xSkill1671mo agoMITA67Claude Code
evaluator-review-contractredker56/auto-harnessSkill157mo agoMITA30Claude Code
comet-reviewrpamis/cometSkill3.3ktodayMITA30Claude Code, Codex
comet-github-pr-reviewrpamis/cometSkill3.3ktodayMITA69Claude Code, Codex
vibe-spec-syncash1794/vibe-engineeringSkill1638d agoMITA90Claude Code