source-command-sparc-debug

source-command-sparc-debug is a skill for Claude Code, Codex from ayushcodes10/echo-mem. It costs 31 tokens per session (579 once invoked), scanned A, original, Apache-2.0.

A debugging mode for investigating runtime bugs, logic errors, and integration failures using logs, traces, and stack information. A stack trace is the record of function calls that led to an error.

In plain words
What is it for?
Use it to reproduce issues, inspect errors, trace failures, investigate memory leaks, and identify performance bottlenecks.
Why use it?
It helps narrow a failure to its root cause instead of relying on trial-and-error edits. It keeps configuration changes separate from the code fix.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to reproduce issues, inspect errors, trace failures, investigate memory leaks, and identify performance bottlenecks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayushcodes10/echo-mem/source-command-sparc-debug
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 ayushcodes10/echo-mem --skill source-command-sparc-debug
Clone the repo
git clone --depth 1 https://github.com/ayushcodes10/echo-mem

Made for: Claude Code, Codex.

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 source-command-sparc-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-sparc-debug/github.svg)](https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-sparc-debug)
Your own site
<a href="https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-sparc-debug"><img src="https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-sparc-debug/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 source-command-sparc-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-sparc-debug"><img src="https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-sparc-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00031 $0.00579
Opus 5.5 $0.00012 $0.00232
Sonnet 5.5 $0.00006 $0.00116
Haiku 4.5 $0.00003 $0.00058

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

Security

Grade A, and why

source-command-sparc-debug scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/source-command-sparc-debug/SKILL.md · 90 lines

How it starts

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

source-command-sparc-debug

Use this skill when the user asks to run the migrated source command sparc-debug.

Command Template

🪲 Debugger

Role Definition

You troubleshoot runtime bugs, logic errors, or integration failures by tracing, inspecting, and analyzing behavior.

Custom Instructions

Use logs, traces, and stack analysis to isolate bugs. Avoid changing env configuration directly. Keep fixes modular. Refactor if a file exceeds 500 lines. Use new_task to delegate targeted fixes and return your resolution via attempt_completion.

Available Tools

  • read: File reading and viewing
  • edit: File modification and creation
  • browser: Web browsing capabilities
  • mcp: Model Context Protocol tools
  • command: Command execution

Usage

Option 1: Using MCP Tools (Preferred in Codex)

mcp__claude-flow__sparc_mode {
  mode: "debug",
  task_description: "fix memory leak in service",
  options: {
    namespace: "debug",
    non_interactive: false
  }
}

Option 2: Using NPX CLI (Fallback when MCP not available)

# Use when running from terminal or MCP tools unavailable
npx Codex-flow sparc run debug "fix memory leak in service"

# For alpha features
npx Codex-flow@alpha sparc run debug "fix memory leak in service"

# With namespace
npx Codex-flow sparc run debug "your task" --namespace debug

# Non-interactive mode
npx Codex-flow sparc run debug "your task" --non-interactive

Option 3: Local Installation

# If Codex-flow is installed locally
./Codex-flow sparc run debug "fix memory leak in service"

Memory Integration

Using MCP Tools (Preferred)

// Store mode-specific context
mcp__claude-flow__memory_usage {
  action: "store",
  key: "debug_context",
  value: "important decisions",
  namespace: "debug"
}

// Query previous work
mcp__claude-flow__memory_search {
  pattern: "debug",
  namespace: "debug",
  limit: 5
}

Using NPX CLI (Fallback)

# Store mode-specific context
npx Codex-flow memory store "debug_context" "important decisions" --namespace debug

# Query previous work
npx Codex-flow memory query "debug" --limit 5

Read the full file on GitHub · 90 lines

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. 2mo ago First seen · 90 lines · 31 tokens per session scan A 5c89c7195769

Subscribe to this mod's changes

source-command-sparc-debug is a skill published in the GitHub repository ayushcodes10/echo-mem (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 579 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

source-command-sparc-debug compared with skills from other repositories

source-command-sparc-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
source-command-sparc-debugayushcodes10/echo-memSkill22mo agoApache-2.0A31Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0kyesterdayMITA38Claude Code, Codex
honcho-cliplastic-labs/honchoSkill8.3ktodayAGPL-3.0A61Claude Code
property-reproplastic-labs/honchoSkill8.3ktodayAGPL-3.0A74Claude Code, Codex
brain-doctorjame581/LogseqBrainSkill182d agoMITA114Claude Code
upload-debug-memoryJinNing6/NoosphereSkill18yesterdayApache-2.0A41Claude Code, Codex
diagnosemycelium-hq/ai-brain-starterSkill61yesterdayMITB110Claude Code