跳到正文
TakoAPI
返回技能列表

sightglass

由 davidgeorgehope 提供

Coding Agents & IDEs
342下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Your AI coding agent just added 47 dependencies to your project.

描述

该技能的功能

Sightglass monitors AI coding agent sessions to track how dependencies get selected, classifying each one by how the agent discovered it — training recall, context inheritance, search, or user direction. It surfaces dependency risks, missed alternatives, and bias patterns after each session. Data syncs to sightglass.dev when authenticated.

Unlike manual post-hoc dependency review, Sightglass captures the discovery method at session time, making it possible to distinguish reasoned choices from autopilot training recall.

何时使用

  • Auditing which packages an AI agent added without explicit instruction
  • Checking training recall percentage after a large agent-driven refactor
  • Comparing what alternatives the agent ignored when picking a library
  • Flagging unmaintained or vulnerable packages introduced by an agent session
  • Reviewing dependency history across multiple agent sessions on a project

示例工作流

输入

User asks: analyze what my agent just did in the last hour

智能体
  1. 1

    Run pre-spawn.sh before starting the coding agent session to record start time and ensure watcher is running

  2. 2

    Agent completes its work, installing dependencies and making architectural choices

  3. 3

    Run post-session.sh to trigger analysis of the completed session

  4. 4

    Review the summary output showing dependencies added, risk count, training recall percentage, and missed alternatives

  5. 5

    Run sightglass analyze --since '1 hour ago' --format json for full detail

输出

Session report listing 12 dependencies added, 3 risks, 67% training recall, and 5 alternatives the agent never considered

前置要求

  • sightglass.dev account (for cloud analysis, history, and --push sync)

安装

clawhub install davidgeorgehope/sightglass

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接