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

trace-audit跟踪审计

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

659

周安装

28

GitHub Stars

10

下载量

231
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/joyco-studio/skills --skill trace-audit

简介

用于辅助安全审计、权限检查和常见漏洞排查。

  • 适合梳理敏感配置、分析鉴权逻辑或生成安全复核清单。
  • 使用时不能直接采信输出结果,需结合最小权限和脱敏要求确认操作边界。
  • 安装命令:npx skills add https://github.com/joyco-studio/skills --skill trace-audit
  • 建议先评估对密钥、令牌或生产系统的影响范围

SKILL.md

Chrome DevTools Trace Audit

Analyze a Chrome DevTools Performance trace and produce a comprehensive performance audit report.

Usage

/trace-audit <path-to-trace.json>

The argument is the absolute path to a Chrome DevTools trace JSON file (exported from the Performance panel).

Workflow

Follow these steps in order. Use parallel tool calls wherever noted.

Step 1 — Validate the trace file

Read the first 100 lines of the file using the Read tool. Confirm it is a valid Chrome DevTools trace by checking for:

  • A top-level traceEvents array, or a bare JSON array starting with [
  • Event objects with name, cat, ph, ts fields
  • Presence of __metadata or TracingStartedInBrowser events

If validation fails, tell the user this doesn't appear to be a Chrome DevTools trace and stop.

Step 2 — Extract metadata

Use Grep on the trace file to extract (run these in parallel):

  1. Site URL — grep for TracingStartedInBrowser or navigationStart or FrameCommittedInBrowser and look for a URL in the args
  2. Process names — grep for process_name or thread_name to identify renderer, browser, GPU processes
  3. Trace time range — grep for the first and last "ts": values to compute trace duration

Step 3 — Run detection passes

Refer to detection-heuristics.md for the full set of patterns and thresholds. Run all detection categories in parallel using Grep. For each category:

  • Use the specified grep pattern on the trace file
  • Collect matching lines with surrounding context where helpful (-C 1 or -C 2)
  • Count matches and extract durations/values from the matched JSON

The detection categories are:

  1. Long Tasks (RunTask with dur > 50000)
  2. Layout Thrashing (InvalidateLayoutLayout pairs)
  3. Forced Reflows (Layout events with stackTrace)
  4. rAF Ticker Loops (RequestAnimationFrame frequency)
  5. Style Recalc Storms (UpdateLayoutTree with dur > 5000)
  6. Paint Storms (Paint events with dur > 3000)
  7. GC Pressure (MajorGC / V8.GC_MARK_COMPACTOR)
  8. CLS (LayoutShift cumulative score)
  9. INP (EventTiming max duration)
  10. Network Errors (ResourceReceiveResponse with statusCode >= 400)
  11. Redundant Fetches (same URL fetched multiple times)
  12. Script Eval (EvaluateScript / CompileScript with dur > 50000)
  13. Long Animation Frames (LoAF / LongAnimationFrame)

Step 4 — Aggregate findings

For each detection category:

  • Compute total count of flagged events
  • Extract the worst offender (max duration or highest score)
  • Classify severity: Critical (red) or Warning (yellow) based on the thresholds in detection-heuristics.md
  • Skip categories with zero findings

Step 5 — Identify timeline hotspots

Group flagged events by timestamp into time windows (e.g., 500ms buckets). Identify windows where multiple issue categories overlap — these are hotspot ranges that represent the most problematic sections of the trace.

Step 6 — Generate report

Output the report using the structure defined in report-format.md. The report should be:

  • Actionable — every issue links to a concrete fix
  • Scannable — use tables, severity badges, and clear headings
  • Complete — cover all categories, even if just to say "no issues found"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.71%
按下载量换算82

Claude

28.56%
按下载量换算66

Cursor

19.39%
按下载量换算45

Gemini CLI

8.31%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills