Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

tl-agent-plan-audittlAgent 计划审核

Agent Skill

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

总安装

147

周安装

6

GitHub Stars

公开资料未说明

下载量

48
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/toddlevy/tl-agent-skills --skill tl-agent-plan-audit

简介

tl-agent-plan-audit 用于辅助安全审计、权限检查和认证流程分析。

  • 适合让 Agent 梳理敏感配置、检查依赖风险或生成安全复核清单。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 使用时不能将工具输出直接当作最终结论,涉及密钥或生产系统时应先确认最小权限和脱敏方式。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Plan Audit

Unified audit workflow for .plan.md files. Validates structural compliance against the tl-agent-plan-create specification, then combines critique, pre-mortem simulation, parallelization review, and implementation readiness analysis into a single cohesive audit.

When to Use

  • User says "audit this plan" or "review the plan"
  • Before starting execution of a plan
  • User asks to optimize a plan for efficiency
  • User wants a pre-mortem or critique

Outcomes

  • Analysis: Unified audit report with findings grouped by subject matter
  • Decision: Verdict (Ready to execute | Changes recommended | Rework needed)
  • Artifact: Actionable recommendations for plan revision

Audit Process

Run Analysis 0 first — it is mechanical validation that reads the plan and produces numbered findings. Then perform Analyses 1–4 mentally and merge all findings into a unified output grouped by subject matter. Do NOT reveal the analysis numbering to the user.

Analysis 0: Structural Compliance

See Structural Compliance Rules for the full 9-step mechanical validation procedure (plan-type detection, frontmatter checks, todo structure, phase/gate completeness, body/YAML cross-reference, specificity, decision resolution, plan integrity, verification metadata compliance).

This analysis MUST always produce a "Structural Compliance" section in the audit output. If all checks pass, write "All 9 structural checks pass." If any fail, list each violation numbered.

Read the rules file first, then execute its 9 steps in order against the target plan. The validation is mechanical — no judgment calls.

Analysis 1: Principal Engineer Critique

Evaluate:

  • Clarity: Is the goal unambiguous? Are subtasks atomic and verifiable? Will another engineer understand this?
  • Risk: What could fail? Are failure modes addressed? Hidden assumptions?
  • Sequencing: Is the order optimal? Unnecessary dependencies? Could earlier phases de-risk later ones?
  • Leverage: What has highest impact-to-effort ratio? Are high-leverage tasks front-loaded?

Analysis 2: Pre-Mortem Simulation

Mentally execute the plan start-to-finish. For each subtask, identify:

  • Hidden subtasks (unstated work required)
  • Dependencies (what must exist before this can start)
  • Bottlenecks (where things will slow down)
  • Failure points (what's most likely to go wrong)

Analysis 3: Parallelization Review

Identify:

  • Independent tasks (no dependencies between them)
  • Parallel agent opportunities (multiple agents working simultaneously)
  • Blocking paths (what MUST be sequential)
  • Specific agent allocation recommendations

Analysis 4: Implementation Readiness

For EVERY file the plan modifies, creates, or deletes, perform exhaustive pre-reads and document:

  • Signatures: Exact function signatures with parameter types, return types, and line numbers. Not summaries — the actual code.
  • Import graph: Every file that currently imports the target. Every import the target file has that may break. Exact file paths and line numbers.
  • Call sites: The exact lines where changes hook in. If the plan says "add externalIdService.link after upsert", the audit must show the upsert call and its surrounding context.
  • API surface: For route handlers, the exact request schema (query params, body shape) and response shape today.
  • Job handler shape: For job files, what job.data looks like today and whether it is currently used or ignored (_job pattern).
  • State of the world: Which planned deletions/creations overlap with work already done in prior plans? Which files have already been deleted?

The standard is: an implementor should be able to execute the plan start-to-finish without a single exploratory file read. Every fact needed is either in the plan body or in a code reference within the Implementation Context section.

Red flags that MUST be caught:

  • Plan says "modify X.ts" but doesn't include X's current function signature
  • Plan says "delete Y.ts" without listing every file that imports Y
  • Plan says "extend endpoint Z" without stating Z's current query params and response shape
  • Plan says "replace CONSTANT" without listing every file that imports it
  • Plan says "add after upsert" without showing the upsert call site with surrounding context
  • Plan says "accept NewPayload" but target already has a different options type (naming conflict)

Adaptive Depth

Scale analysis depth to plan complexity:

Plan SizeRisk LevelAnalysis Depth
Small (1-2 phases)LowBrief findings, focus on blockers only
Medium (3-4 phases)MediumStandard analysis, all major findings
Large (5+ phases)HighDetailed analysis, every subtask reviewed

| Any size | Any risk | If plan modifies 5+ files: require Implementation Readiness analysis |

Risk multipliers: External integrations, data migrations, auth/security, billing = deeper analysis regardless of size.

Smart Auto-Fix Rule

Obvious improvements: Apply directly without asking. Examples:

  • Missing gate criteria → add specific verification
  • Vague subtask → make atomic
  • Missing dependencies → add them
  • Parallelizable tasks not marked → add parallelization notes
  • Missing isProject field in frontmatter → add it
  • Todo IDs not matching convention → reformat to t{p}-{g}-{s} or slug style
  • Missing Precondition: or Exit gate: in a phase → add skeleton
  • Body/YAML numbering mismatch → reconcile
  • Unresolved "Option A / Option B" alternatives → research codebase, apply first principles, commit to one approach

Implementation unknowns: If a plan modifies a file but doesn't document the current signature/shape, add an "Implementation Context" section with those facts. This is an obvious fix — perform the pre-reads and add the results to the plan.

Integrity violations (Steps 8-9): These are always obvious fixes — apply directly:

  • Stale file path → verify and correct or remove the reference
  • Wrong line number → read the file, update to the actual line
  • YAML/body inconsistency → update the YAML todo text to match the body
  • Missing files from scope → grep, find the consumers, add them to the plan
  • Exit gate example values that don't match actual output → correct the examples
  • Missing cross-section rationale → read both sections, add a > Decision: note explaining the difference
  • Missing verified_at_commit → run git rev-parse --short HEAD and add it
  • Missing or incomplete verifications: array → run the verification commands from Step 8b and produce the block
  • Stale verification results → re-run the command, update the result, flag if the claim changed

Non-obvious decisions: Probe, ask questions, propose with rationale. Examples:

  • Reordering phases (may have unstated reasons)
  • Removing scope (user may have context you don't)
  • Architectural changes
  • Adding significant new work
  • Alternatives where both approaches have legitimate first-principles arguments and codebase evidence is ambiguous → ask the user

Output Format

See Output Format Template for the complete audit report template (Summary, Findings grouped by subject area, Parallelization, Critical path, Agent allocation, Recommendations list).

Produce a unified audit report. Group findings by subject matter (e.g., by phase, by system component, by risk area) — NOT by audit type.

After the Audit

Update plan-level status. If the verdict is "Ready to execute," set the plan's YAML frontmatter status field to audited. This signals to tl-agent-plan-execute that the plan has been reviewed and its verification receipts are trustworthy. If the verdict is "Changes recommended" or "Rework needed," leave status as planned until the revisions are applied and the plan is re-audited.

If verdict is "Changes recommended":

Audit complete. I've identified [N] changes.

[If any are obvious fixes]: I can apply items 1, 3, 5 directly — they're straightforward improvements.

[If any need discussion]: Items 2, 4 involve trade-offs. Want me to elaborate on any before proceeding?

Ready to revise the plan?

If verdict is "Ready to execute":

Plan looks solid. Minor suggestions in the findings, but nothing blocking.

Ready to start execution?

Branch Workflow Check

Before execution begins, ask about branching strategy if not already specified in the plan:

prompt: "Should this work be done in a feature branch?"
options:
  - id: yes_branch
    label: "Yes - create a feature branch (e.g., feat/plan-name)"
  - id: no_branch
    label: "No - work directly on current branch"
  - id: already_specified
    label: "Already specified in plan"

If yes:

  1. Add a "create-branch" task as the first todo
  2. Add a "Branch" section at the top of the plan body
  3. Add commit/push instructions at the end
  4. Suggest branch name based on plan name (e.g., feat/embedded-checkout)

Example Subject Groupings

See Example Subject Groupings for guidance on organizing findings (by phase, by system component, by risk category, or by execution concern).

Choose the grouping that minimizes redundancy for the specific plan being audited.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.33%
按下载量换算17

Claude

28.25%
按下载量换算14

Cursor

18.75%
按下载量换算9

Gemini CLI

8.9%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills