Skill Analytics v2.0
Install: INLINECODE0
ClawHub skill portfolio monitoring with state tracking. Remembers what it recommended.
Language
Detect from user's message language. Default: English.
State Files
All state stored in memory/skill-analytics/:
| File | Purpose |
|---|
| INLINECODE2 | Rotation day, last run, recommendation IDs |
| INLINECODE3 |
Active recommendations with status |
|
ideas-tried.md | Topics already covered (avoid repeats) |
Create directory and files on first run if they don't exist.
Day-of-Week Rotation
Use day-of-week (Monday=1, Sunday=7) from state.json (not current calendar day — track continuously):
| Day | Focus |
|---|
| 1 | Adoption Funnel |
| 2 |
Competitive Analysis |
| 3 | Content & Copy |
| 4 | Feature Gap |
| 5 | Monetization |
| 6 | Cross-Promotion |
| 7 | Wildcard |
After each run: increment day in state.json, wrap at 7.
Anti-Repetition Protocol
Before generating recommendations:
- 1. Read INLINECODE7
- Read INLINECODE8
- Skip any recommendation already listed as "Pending" or already tried
- Only generate NEW recommendations
- If no new insights exist: say "No new recommendations this run. Previous {N} are still pending."
Recommendation Format
CODEBLOCK0
After user marks as done: change Status to "✅ Completed" with Result.
Data Collection
Use built-in tools only (webfetch, websearch):
CODEBLOCK1
Extract: downloads, installs, stars, version count.
No CLI tools, no npm packages, no credentials.
Output Format
CODEBLOCK2
Phase Indicator
Based on total installs across portfolio:
| Phase | Installs | Focus |
|---|
| 🌱 Seed | 0-10 | Visibility |
| 🌿 Grow |
10-100 | Conversion |
| 🌳 Scale | 100-1000 | Monetization |
| 🏢 Sustain | 1000+ | Retention |
Quick Commands
| User says | Action |
|---|
| "skill stats" | Quick dashboard |
| "skill analytics" |
Full analysis |
| "fulført #3" | Mark recommendation #3 as completed |
| "alle anbefalinger" | Show all with status |
Guidelines for Agent
- 1. Always read state before running — check recommendations and ideas-tried
- Write state after running — update state.json, add new recommendations
- Never repeat — check ideas-tried.md before suggesting
- Use built-in tools only — webfetch and websearch
- No personal data in searches — only public ClawHub data
- Keep output concise — max 40 lines per report
- Language follows user
What This Skill Does NOT Do
- - Does NOT read MEMORY.md, SOUL.md, or other workspace files
- Does NOT access credentials or private data
- Does NOT use external CLI tools or npm packages
- Does NOT modify any files outside INLINECODE9
More by TommoT2
- - context-brief — Persistent context survival across sessions
- setup-doctor — Diagnose and fix OpenClaw setup issues
- tommo-skill-guard — Security scanner for installed skills
Install the full suite:
CODEBLOCK3
技能分析 v2.0
安装: clawhub install skill-analytics
ClawHub 技能组合监控与状态追踪。记录其推荐内容。
语言
根据用户消息语言自动检测。默认:英语。
状态文件
所有状态存储在 memory/skill-analytics/ 目录中:
| 文件 | 用途 |
|---|
| state.json | 轮换天数、上次运行时间、推荐 ID |
| recommendations.md |
带状态的活跃推荐 |
| ideas-tried.md | 已覆盖的主题(避免重复) |
首次运行时若目录和文件不存在则自动创建。
按星期轮换
使用 state.json 中的星期几(星期一=1,星期日=7),而非当前日历日期——持续追踪:
竞争分析 |
| 3 | 内容与文案 |
| 4 | 功能缺口 |
| 5 | 变现策略 |
| 6 | 交叉推广 |
| 7 | 万能牌 |
每次运行后:在 state.json 中递增天数,到 7 后重置。
防重复协议
生成推荐前:
- 1. 读取 memory/skill-analytics/recommendations.md
- 读取 memory/skill-analytics/ideas-tried.md
- 跳过任何已标记为待处理或已尝试过的推荐
- 仅生成新的推荐
- 若无新洞察:输出本轮无新推荐。之前的 {N} 条仍在处理中。
推荐格式
markdown
| # | 推荐 | 日期 | 状态 | 结果 |
|---|
| 1 | 简短标题 — 单行动作 | YYYY-MM-DD | 待处理 | - |
用户标记为完成后:将状态改为✅ 已完成并填写结果。
数据收集
仅使用内置工具(webfetch, websearch):
web_fetch https://clawhub.ai/tommot2/{slug}
web_search clawhub {技能类别}
提取:下载量、安装量、星标数、版本数。
无 CLI 工具,无 npm 包,无需凭证。
输出格式
📊 技能分析 — {日期}
仪表盘
关注点:{每日关注}
{2-3 段实际分析。具体数字。}
新推荐
- 1. {标题} — {单行动作}
- 效果:{预估}
- 投入:{低/中/高}
之前状态
- - 待处理:{N} 条推荐
- 已完成:{N} 条推荐
- 已跳过(重复):{N} 条
下次运行
关注点:第 {N+1} 天 — {关注内容}
阶段指示器
基于技能组合的总安装量:
| 阶段 | 安装量 | 关注点 |
|---|
| 🌱 种子期 | 0-10 | 可见性 |
| 🌿 成长期 |
10-100 | 转化率 |
| 🌳 规模化 | 100-1000 | 变现策略 |
| 🏢 成熟期 | 1000+ | 留存率 |
快捷指令
完整分析 |
| 完成 #3 | 将推荐 #3 标记为已完成 |
| 所有推荐 | 显示所有推荐及状态 |
代理指南
- 1. 运行前始终读取状态 — 检查推荐和已尝试的想法
- 运行后写入状态 — 更新 state.json,添加新推荐
- 绝不重复 — 建议前检查 ideas-tried.md
- 仅使用内置工具 — webfetch 和 websearch
- 搜索中不含个人数据 — 仅公开的 ClawHub 数据
- 保持输出简洁 — 每份报告最多 40 行
- 语言跟随用户
本技能不执行的操作
- - 不读取 MEMORY.md、SOUL.md 或其他工作区文件
- 不访问凭证或私人数据
- 不使用外部 CLI 工具或 npm 包
- 不修改 memory/skill-analytics/ 之外的任何文件
TommoT2 的更多作品
- - context-brief — 跨会话的持久上下文存活
- setup-doctor — 诊断并修复 OpenClaw 设置问题
- tommo-skill-guard — 已安装技能的安全扫描器
安装完整套件:
bash
clawhub install skill-analytics context-brief setup-doctor tommo-skill-guard