learn-about-omd
Analyze your OMD usage patterns and get personalized Android development recommendations
npxskills add merozemory/oh-my-droid--skill learn-about-omdLoading…
Analyze your OMD usage patterns and get personalized Android development recommendations
npxskills add merozemory/oh-my-droid--skill learn-about-omdLoading…
Analyzes your oh-my-droid usage and provides tailored recommendations to improve your workflow.
~/.omd/state/token-tracking.jsonl.omd/state/session-history.json# Check for token tracking data
TOKEN_FILE="$HOME/.omd/state/token-tracking.jsonl"
SESSION_FILE=".omd/state/session-history.json"
CONFIG_FILE="$HOME/.factory/.omd-config.json"
echo "📊 Analyzing OMC Usage..."
echo ""
# Check what data is available
HAS_TOKENS=false
HAS_SESSIONS=false
HAS_CONFIG=false
if [[ -f "$TOKEN_FILE" ]]; then
HAS_TOKENS=true
TOKEN_COUNT=$(wc -l < "$TOKEN_FILE")
echo "Token records found: $TOKEN_COUNT"
fi
if [[ -f "$SESSION_FILE" ]]; then
HAS_SESSIONS=true
SESSION_COUNT=$(cat "$SESSION_FILE" | jq '.sessions | length' 2>/dev/null || echo "0")
echo "Sessions found: $SESSION_COUNT"
fi
if [[ -f "$CONFIG_FILE" ]]; then
HAS_CONFIG=true
DEFAULT_MODE=$(cat "$CONFIG_FILE" | jq -r '.defaultExecutionMode // "not set"')
echo "Default execution mode: $DEFAULT_MODE"
fi
if [[ "$HAS_TOKENS" == "true" ]]; then
echo ""
echo "TOP AGENTS BY USAGE:"
cat "$TOKEN_FILE" | jq -r '.agentName // "main"' | sort | uniq -c | sort -rn | head -10
echo ""
echo "MODEL DISTRIBUTION:"
cat "$TOKEN_FILE" | jq -r '.modelName' | sort | uniq -c | sort -rn
fi
Based on patterns found, output recommendations:
If high Opus usage (>40%) and no ecomode:
If no pipeline usage:
If no security-reviewer usage:
If defaultExecutionMode not set:
Format a nice summary with:
If no data found:
📊 Limited Usage Data Available
No token tracking found. To enable tracking:
1. Ensure ~/.omd/state/ directory exists
2. Run any OMC command to start tracking
Tip: Run /omd-setup to configure OMC properly.
📊 Your OMC Usage Analysis
TOKEN SUMMARY:
- Total records: 1,234
- By Model: opus 45%, sonnet 40%, haiku 15%
TOP AGENTS:
1. executor (234 uses)
2. architect (89 uses)
3. explore (67 uses)
UNDERUTILIZED FEATURES:
- ecomode: 0 uses (could save ~30% on routine tasks)
- pipeline: 0 uses (great for review workflows)
RECOMMENDATIONS:
1. Set defaultExecutionMode: "ecomode" to save tokens
2. Try /pipeline review for PR reviews
3. Use explore agent before architect to save context
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).