source-command-swarm-optimization

source-command-swarm-optimization is a skill for Claude Code, Codex from ayushcodes10/echo-mem. It costs 17 tokens per session (680 once invoked), scanned A, original, Apache-2.0.

A coordinated group of agents for finding and improving performance problems in software. It can assign work such as profiling, detecting bottlenecks or memory leaks, and refactoring code.

In plain words
What is it for?
Use it to investigate slow code, memory issues, and other performance problems, then plan code changes to address them.
Why use it?
It divides performance investigation among specialised roles, reducing the need to inspect every possible cause manually.

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 investigate slow code, memory issues, and other performance problems, then plan code changes to address them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ayushcodes10/echo-mem/source-command-swarm-optimization
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-swarm-optimization
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-swarm-optimization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ayushcodes10/echo-mem/source-command-swarm-optimization"><img src="https://agentmods.dev/badge/skills/ayushcodes10/echo-mem/source-command-swarm-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 680 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.00017 $0.00680
Opus 5.5 $0.00007 $0.00272
Sonnet 5.5 $0.00003 $0.00136
Haiku 4.5 $0.00002 $0.00068

Measured 2mo ago against content hash 79240ee79b97, 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-swarm-optimization 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-swarm-optimization/SKILL.md · 129 lines

How it starts

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

source-command-swarm-optimization

Use this skill when the user asks to run the migrated source command swarm-optimization.

Command Template

Optimization Swarm Strategy

Purpose

Performance optimization through specialized analysis.

Activation

Using MCP Tools

// Initialize optimization swarm
mcp__claude-flow__swarm_init({
  "topology": "mesh",
  "maxAgents": 6,
  "strategy": "adaptive"
})

// Orchestrate optimization task
mcp__claude-flow__task_orchestrate({
  "task": "optimize performance",
  "strategy": "parallel",
  "priority": "high"
})

Using CLI (Fallback)

npx Codex-flow swarm "optimize performance" --strategy optimization

Agent Roles

Agent Spawning with MCP

// Spawn optimization agents
mcp__claude-flow__agent_spawn({
  "type": "optimizer",
  "name": "Performance Profiler",
  "capabilities": ["profiling", "bottleneck-detection"]
})

mcp__claude-flow__agent_spawn({
  "type": "analyst",
  "name": "Memory Analyzer",
  "capabilities": ["memory-analysis", "leak-detection"]
})

mcp__claude-flow__agent_spawn({
  "type": "optimizer",
  "name": "Code Optimizer",
  "capabilities": ["code-optimization", "refactoring"]
})

mcp__claude-flow__agent_spawn({
  "type": "tester",
  "name": "Benchmark Runner",
  "capabilities": ["benchmarking", "performance-testing"]
})

Optimization Areas

Performance Analysis

// Analyze bottlenecks
mcp__claude-flow__bottleneck_analyze({
  "component": "all",
  "metrics": ["cpu", "memory", "io", "network"]
})

// Run benchmarks
mcp__claude-flow__benchmark_run({
  "suite": "performance"
})

// WASM optimization
mcp__claude-flow__wasm_optimize({
  "operation": "simd-acceleration"
})

Optimization Operations

// Optimize topology
mcp__claude-flow__topology_optimize({
  "swarmId": "optimization-swarm"
})

// DAA optimization
mcp__claude-flow__daa_optimization({
  "target": "performance",
  "metrics": ["speed", "memory", "efficiency"]
})

// Load balancing
mcp__claude-flow__load_balance({
  "swarmId": "optimization-swarm",
  "tasks": optimizationTasks
})

Read the full file on GitHub · 129 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 · 129 lines · 17 tokens per session scan A 79240ee79b97

Subscribe to this mod's changes

source-command-swarm-optimization is a skill published in the GitHub repository ayushcodes10/echo-mem (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 680 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-swarm-optimization compared with skills from other repositories

source-command-swarm-optimization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
source-command-swarm-optimizationayushcodes10/echo-memSkill22mo agoApache-2.0A17Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0ktodayMITA38Claude Code, Codex
honcho-cliplastic-labs/honchoSkill8.3ktodayAGPL-3.0A61Claude Code
property-reproplastic-labs/honchoSkill8.3ktodayAGPL-3.0A74Claude Code, Codex
brain-doctorjame581/LogseqBrainSkill182d agoMITA114Claude Code
diagnosemycelium-hq/ai-brain-starterSkill61yesterdayMITB110Claude Code
squishmichielhdoteth/squish-memorySkill12yesterdayMITA157Claude Code, Codex