Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/analysis.js

rUv93bf09d8c780
diff --git a/.claude/checkpoints/1755117308.json b/.claude/checkpoints/1755117308.json
new file mode 100644
index 0000000000..25e94882d7
--- /dev/null
+++ b/.claude/checkpoints/1755117308.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250813-203508", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/analysis.js", "timestamp": "2025-08-13T20:35:08Z", "type": "pre-edit", "original_branch": "alpha-89"}
diff --git a/.claude/checkpoints/1755117310.json b/.claude/checkpoints/1755117310.json
new file mode 100644
index 0000000000..b134ee4913
--- /dev/null
+++ b/.claude/checkpoints/1755117310.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250813-203510", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/analysis.js", "timestamp": "2025-08-13T20:35:10Z", "type": "post-edit", "branch": "alpha-89", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 8748 ++++++++++++++++++++++++++---- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1755117279.json | 1 + .claude/checkpoints/1755117281.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/analysis.js | 14 + 7 files changed, 7652 insertions(+), 1120 deletions(-) "}
diff --git a/analysis-reports/token-usage-1755117326189.csv b/analysis-reports/token-usage-1755117326189.csv
new file mode 100644
index 0000000000..9d4f2b6113
--- /dev/null
+++ b/analysis-reports/token-usage-1755117326189.csv
@@ -0,0 +1,8 @@
+Timestamp,Session,Agent,Command,Input Tokens,Output Tokens,Total
+
+SUMMARY
+Total Input Tokens,0
+Total Output Tokens,0
+Total Tokens,0
+
+BY AGENT TYPE
diff --git a/analysis-reports/token-usage-1755117330651.csv b/analysis-reports/token-usage-1755117330651.csv
new file mode 100644
index 0000000000..9d4f2b6113
--- /dev/null
+++ b/analysis-reports/token-usage-1755117330651.csv
@@ -0,0 +1,8 @@
+Timestamp,Session,Agent,Command,Input Tokens,Output Tokens,Total
+
+SUMMARY
+Total Input Tokens,0
+Total Output Tokens,0
+Total Tokens,0
+
+BY AGENT TYPE
diff --git a/src/cli/simple-commands/analysis.js b/src/cli/simple-commands/analysis.js
index 64010eab11..0a141af22e 100644
--- a/src/cli/simple-commands/analysis.js
+++ b/src/cli/simple-commands/analysis.js
@@ -430,6 +430,15 @@ EXAMPLES:
# Token usage with full analysis
claude-flow analysis token-usage --breakdown --cost-analysis
+ # Monitor Claude session in real-time
+ claude-flow analysis claude-monitor
+
+ # Get current Claude session cost
+ claude-flow analysis claude-cost
+
+ # Run Claude with automatic token tracking
+ CLAUDE_CODE_ENABLE_TELEMETRY=1 claude-flow swarm "task" --claude
+
🎯 Analysis helps with:
• Token usage tracking & cost management
• Performance optimization