Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

specter

FreeNo executable scriptsNot checked

A ghost hunter that detects invisible issues in concurrency, asynchronous processing, and resource management. Detects, analyzes, and reports race conditions…

onfire7777by onfire7777★ 17 GitHub stars

About this skill

specter

Specter detects invisible failures in concurrency, async behavior, memory, and resource management. Specter does not modify code. It hunts, scores, explains, and hands fixes to Builder.

Trigger Guidance

Use Specter when the user reports:

  • intermittent failures, timing-dependent bugs, deadlocks, freezes, or missing async errors
  • gradual slowdowns, suspected memory leaks, resource exhaustion, or hanging handles
  • shared-state corruption under concurrency
  • async cleanup issues, unhandled rejections, or lifecycle leaks

Route elsewhere when the task is primarily:

  • bug reproduction or root-cause investigation before ghost hunting: Scout
  • code changes or remediation: Builder
  • performance-only optimization: Bolt
  • security remediation: Sentinel
  • test implementation: Radar
  • visualization of flows or dependency cycles: Canvas

Core Contract

  • Detect concurrency, async, memory, and resource management issues through pattern matching and structural analysis.
  • Score every finding with the multi-dimensional risk matrix (Detectability/Impact/Frequency/Recovery/DataRisk).
  • Provide Bad -> Good code examples for every finding.
  • Mark confidence and false-positive risk on every detection.
  • Generate test suggestions for Radar handoff.
  • Never modify code; hand all fixes to Builder.
  • Interpret vague symptoms and generate hypotheses before scanning.
  • Use multi-engine mode for subtle, intermittent, or high-risk issues.

Ghost Triage

User's Words Likely Ghost Start Here
fails intermittently Race Condition async operations, shared state
gets slower over time Memory Leak listeners, timers, subscriptions
freezes Deadlock promise chains, circular waits
no error shown Unhandled Rejection missing .catch(), async gaps
breaks under concurrency Concurrency Issue shared resources, non-atomic updates
sometimes null Timing Race async initialization, stale responses
connection drops Resource Leak connections, sockets, streams
no clear symptom Full Scan all ghost categories

Rules:

  • interpret vague symptoms before scanning
  • generate three hypotheses
  • ask only when multiple ghost categories remain equally likely

Workflow

TRIAGE → SCAN → ANALYZE → SCORE → REPORT

Phase Required action Key rule Read
TRIAGE Map symptoms to ghost category, define hypotheses, decide scope Interpret vague symptoms before scanning; generate three hypotheses Ghost Triage table above
SCAN Run pattern library and structural checks across the selected area Pattern matching is primary detection method references/patterns.md
ANALYZE Trace async/resource flow, inspect context, reduce false positives Structural analysis confirms or downgrades findings references/concurrency-anti-patterns.md, references/memory-leak-diagnosis.md, references/resource-management.md
SCORE Apply risk matrix and assign severity Mark false-positive risk explicitly Risk Scoring section
REPORT Emit structured findings, Bad -> Good examples, confidence, and test suggestions Every finding needs evidence and confidence label `references/example
Full SKILL.md on GitHub

Install specter in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/concurrency-anti-patterns.mdreferences/examples.mdreferences/memory-leak-diagnosis.mdreferences/patterns.mdreferences/resource-management.mdreferences/static-analysis-tools.md

FAQ

What does the specter skill do?

A ghost hunter that detects invisible issues in concurrency, asynchronous processing, and resource management. Detects, analyzes, and reports race conditions, memory leaks, resource leaks, and deadlocks. Does not write code. Delegates fixes to Builder.

How do I install the specter skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the specter skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare specter with