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.
npx agentmods add skills/zane456/cc-session-memory/ccskillnpx skills add Zane456/cc-session-memory --skill ccskillgit clone --depth 1 https://github.com/Zane456/cc-session-memoryWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00089 | $0.00347 |
| Opus 5 | $0.00044 | $0.00173 |
| Sonnet 5 | $0.00018 | $0.00069 |
| Haiku 4.5 | $0.00009 | $0.00035 |
Grade A, and why
ccskill 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 yesterday.
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.
What it actually says
/ccskill — skill 使用统计(单命令)
数据源:<cc-session-memory>/memories/skill_usage.jsonl,cc-session-memory 的 Stop hook 每轮自动记录,长期累积,不受 CC 30 天 transcript 清理影响。
行为(固定,无参数分支)
跑这一条命令,把输出整理给用户:
python3 "<CC_MEMORY_REPO>/memory_system/cli/ccmem.py" skill-stats
输出即全部记录时间范围的排行:skill / 次数 / 首次 / 最近 / 项目数(已自动过滤 /clear 等 CC 内置命令)。
输出要求
- 直接给表格 + 一句话总结(总数、最常用、谁在吃灰),不要复述命令本身
- 用户追问细节(某 skill、某项目、按天趋势)时,才可加 CLI 自带 flag:
--here--days N--by day--all
数据维护(仅用户提到"数据不全/补一下/回填"时)
... skill-stats --backfill
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.
- yesterday First seen · 30 lines · 89 tokens per session scan A a1c61df1f490
ccskill is a skill published in the GitHub repository Zane456/cc-session-memory (1 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 347 once invoked, about $0.0004 per session on Opus 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-08-31.
Other skills, from other repositories
writing
将共享历史中的已验证事实和计算结果整理成符合受众、格式与长度约束的成稿。.
kayba-stage-7-fixer
Implement the approved fixes from the action plan and log all changes. Trigger when the user says "run stage 7", "implement fixes", "apply action plan", or when invoked by the kayba-pipeline orchestrator. Requires eval/actionplan.md to exist.
regex-mastery
Use this skill when writing regular expressions, debugging pattern matching,optimizing regex performance, or implementing text validation. Triggers on regex, regular expressions, pattern matching, lookahead, lookbehind, named groups, capture groups, backreferences, and any task requiring text pattern matching.
ws-ckpt
工作区快照管理。用户说"保存一下"、"存个快照"时创建 checkpoint,仅限 Linux; 说"回滚"、"撤销"、"恢复到之前"时 rollback;说"删掉快照"时 delete; 说"对比快照"、"快照改了什么"时 diff; 说"看看快照"、"有哪些快照"时 list;说"查看快照状态"、"查看快照剩余空间"时 status。.
memory-recall
Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions, debugging notes, previous conversations, or project knowledge -- especially questions like 'what did I decide about X', 'why did we do Y', or 'have I seen this…
food-order
Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.