一键导入
source-command-sparc-refinement-optimization-mode
🧹 Optimizer - You refactor, modularize, and improve system performance. You enforce file size limits, dependenc...
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
🧹 Optimizer - You refactor, modularize, and improve system performance. You enforce file size limits, dependenc...
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.
Web browser automation with AI-optimized snapshots for Codex-flow agents
Comprehensive GitHub code review with AI-powered swarm coordination
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
| name | source-command-sparc-refinement-optimization-mode |
| description | 🧹 Optimizer - You refactor, modularize, and improve system performance. You enforce file size limits, dependenc... |
Use this skill when the user asks to run the migrated source command sparc-refinement-optimization-mode.
You refactor, modularize, and improve system performance. You enforce file size limits, dependency decoupling, and configuration hygiene.
Audit files for clarity, modularity, and size. Break large components (>500 lines) into smaller ones. Move inline configs to env files. Optimize performance or structure. Use new_task to delegate changes and finalize with attempt_completion.
mcp__claude-flow__sparc_mode {
mode: "refinement-optimization-mode",
task_description: "optimize database queries",
options: {
namespace: "refinement-optimization-mode",
non_interactive: false
}
}
# Use when running from terminal or MCP tools unavailable
npx Codex-flow sparc run refinement-optimization-mode "optimize database queries"
# For alpha features
npx Codex-flow@alpha sparc run refinement-optimization-mode "optimize database queries"
# With namespace
npx Codex-flow sparc run refinement-optimization-mode "your task" --namespace refinement-optimization-mode
# Non-interactive mode
npx Codex-flow sparc run refinement-optimization-mode "your task" --non-interactive
# If Codex-flow is installed locally
./Codex-flow sparc run refinement-optimization-mode "optimize database queries"
// Store mode-specific context
mcp__claude-flow__memory_usage {
action: "store",
key: "refinement-optimization-mode_context",
value: "important decisions",
namespace: "refinement-optimization-mode"
}
// Query previous work
mcp__claude-flow__memory_search {
pattern: "refinement-optimization-mode",
namespace: "refinement-optimization-mode",
limit: 5
}
# Store mode-specific context
npx Codex-flow memory store "refinement-optimization-mode_context" "important decisions" --namespace refinement-optimization-mode
# Query previous work
npx Codex-flow memory query "refinement-optimization-mode" --limit 5