Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

ccbox-insightsccbox 见解

Agent Skill

ccbox-insights 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,277

周安装

93

GitHub Stars

36

下载量

737
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ccbox-insights(ccbox 见解)
来源仓库:https://github.com/diskd-ai/ccbox
仓库路径:skills/ccbox-insights
安装命令:
npx skills add https://github.com/diskd-ai/ccbox --skill ccbox-insights
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/diskd-ai/ccbox --skill ccbox-insights

简介

ccbox-insights 从会话日志中提取经验教训与行为优化建议。

  • 识别成功模式与失败原因,输出可复用的指令片段。
  • 重点关注工具调用失败外的整体效能信号。
  • 依赖 ccbox 日志访问权限与本地会话数据存储。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

ccbox-insights

Use ccbox session logs to produce an evidence-based "lessons learned" memo for the agent (and humans), plus copy-ready instruction snippets that improve future sessions.

Tool-call failures are an important signal, but the goal is broader than errors: capture what worked, what did not, and what should become standing behavior in the future.

Requirements

  • ccbox on your $PATH.
  • Access to the local sessions directory scanned by ccbox (see ccbox --help if discovery looks empty).

Quick start (single session)

  1. Find the latest session for the current folder:
ccbox sessions --limit 5 --offset 0 --size
  1. Inspect the latest session timeline (increase --limit if needed):
ccbox history --full --limit 200 --offset 0

Workflow (recommended)

Follow a staged pipeline: collect -> filter -> summarize -> label -> aggregate -> synthesize -> propose instructions.

Stage 0: Choose scope

  • Session: one .jsonl log for deep root-cause analysis.
  • Project: last N sessions for one project to find recurring failure patterns.
  • Global: a sample across projects to find cross-project patterns.

Stage 1: Collect evidence with ccbox

  • Project discovery: ccbox projects
  • Session listing: ccbox sessions [project-path] --limit N --offset 0 --size
  • Timeline capture: ccbox history [log-or-project] --full --limit N --offset 0
  • Skill spans (optional): ccbox skills [log-or-project] --json

When triaging quickly, scan the timeline for failure signals (examples): error, failed, non-zero, rejected, permission, timeout.

Stage 1.5: Identify clarifications, corrections, and interruptions

Treat user clarifications/corrections as high-signal evidence of workflow breakdowns. Your goal is to pinpoint where the agent went off-track and what rule would prevent it next time.

Look for user messages that:

  • Clarify intent ("I meant X", "not that", "use Y instead").
  • Correct mistakes ("this is wrong", "stop", "revert", "you didn't follow the instructions").
  • Restate constraints after the fact ("do not run X", "no emojis", "do not use cargo", "do not change version", "do not release automatically").
  • Interrupt the session due to friction (hangs, repeated retries, "cancel", abandoning the thread).

For each such moment, capture a small "course-correction record":

  • Trigger: what the agent did immediately before (tool call, plan, edit, or assumption).
  • Correction: the exact user sentence(s) that clarified/corrected.
  • Fix: what changed after the correction (new approach, different tool, narrower scope).
  • Lesson: one rule that would have prevented the detour (copy-ready, scoped project/global).

If the session ends without a clear resolution (or the user abandons it), mark the outcome accordingly and explain the likely interruption reason using evidence (for example: hang/timeout, repeated invalid tool use, conflicting constraints).

Stage 2: Summarize long timelines (only if needed)

If the timeline is too large to analyze in one pass, summarize in chunks:

  • Focus on: user request, tool calls, tool outputs/errors, and outcome.
  • Preserve: tool names, command lines, error messages, and user feedback.
  • Keep each chunk summary to 3-5 sentences.

Stage 3: Extract per-session tool-call facets

For each session in scope, produce one JSON object matching references/facets.md.

If skill spans are available (via ccbox skills --json), annotate each failure with the active skill context when possible (e.g., "this failure happened inside the commit skill span").

Hard rules:

  • Use only evidence from the session log; do not guess missing details.
  • Separate "tool failed" from "wrong approach" (a tool can succeed but still be the wrong move).
  • Count explicit user rejections as their own category (the tool did not fail; the action was declined).

Stage 4: Aggregate and analyze

Aggregate the facet set to produce:

  • Top failing tools and failure categories.
  • Three root-cause themes with concrete evidence snippets.
  • Repeated user constraints that should become standing instructions.
  • Engine-neutral recommendations that reduce tool-call failures and improve UX.

Use references/report.md as the output template.

Stage 5: Propose instruction updates (project + global)

Produce two additive sets of copy-ready snippets:

  • Project-level: bullets to add to AGENTS.md.
  • Global: bullets for the user's global agent instructions.

Guidelines:

  • Do not include local paths, repository names, or one-off incident details.
  • Prefer rules that prevent repeated errors (2+ occurrences) over one-time fixes.
  • Each instruction should include: what to do, what to avoid, and why (1 sentence).

Stage 6: Deliverables

Deliver:

  • A concise lessons learned memo (Markdown), following references/report.md.
  • Proposed additive AGENTS.md snippet (project-level).
  • Proposed additive global instruction snippet.

Optional (for future memory systems):

  • "AutoMemorial candidates": a short, structured list of rules that should become standing agent memory, each backed by evidence and scoped (project vs global).

References

  • Facet schema + taxonomy: references/facets.md
  • Report template + instruction templates: references/report.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.8%
按下载量换算271

Claude

28.82%
按下载量换算212

Cursor

20.99%
按下载量换算155

Gemini CLI

10.31%
按下载量换算76

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills