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

pastapasta 搜索

Agent Skill

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

总安装

269

周安装

11

GitHub Stars

9

下载量

86
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill pasta

简介

用于查找、检索和筛选相关信息。pasta 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 注意是否会触发联网或文件读写操作。

SKILL.md

PASTA Threat Model Dispatcher (Sequential)

Dispatch 7 PASTA stages in strict sequential order. Unlike all other framework dispatchers, PASTA runs each stage as a Task, waits for its output, and passes that output into the next stage's prompt. This is because PASTA is a risk-centric process where business objectives (Stage 1) constrain technical scope (Stage 2), which constrains decomposition (Stage 3), and so on through risk analysis (Stage 7).

Do NOT run stages in parallel. Do NOT skip stages. Do NOT reorder stages.

Stage Failure Handling

If a stage fails (returns empty output, errors, or times out):

  1. Record the failure: stage number, error details, partial output if any.
  2. Check if remaining stages can proceed:

- Stages 1–3 are foundational. If any fails, STOP the pipeline and report partial results from completed stages. - Stages 4–7 can run with degraded input from prior stages. Note the gap explicitly in their output.

  1. Present completed stage outputs to the user with clear status markers:

- Stage 3: COMPLETED (12 components identified) - Stage 4: FAILED — [reason]. Stages 5–7 ran with reduced context.

  1. NEVER discard completed stage outputs due to a later stage failure.

Supported Flags

Read ../../shared/schemas/flags.md for the full flag specification. This dispatcher supports all cross-cutting flags.

FlagDispatcher-Specific Behavior
--scopePropagated to all stages. Default changed. Stages 2-3 may expand scope to trace architecture.
--depthPropagated to all stages. Default standard.
--severityApplied to final Stage 7 output to filter the risk-ranked findings.
--formatApplied to final consolidated output after Stage 7.
--only 1,4,7Run only the listed stages (by number 1-7). Prior stages still run if their output is needed. E.g., --only 5 implicitly runs 1-4 first.
--fixPropagated to Stage 5 (vulnerability analysis) and Stage 7 (risk mitigation).
--quietPropagated to all stages; suppress explanations.
--explainPropagated to all stages; add learning material per finding.

Framework Reference

Read ../../shared/frameworks/pasta.md for the full PASTA framework specification including all 7 stage definitions, cross-framework mappings to OWASP/STRIDE/CWE, and compliance mapping templates.

Stage Pipeline

The 7 stages execute strictly in order. Each stage is launched as a single Task tool call, and you MUST wait for it to complete before launching the next stage.

StageSkillOutputFeeds Into
1. Business Objectivesskills/pasta-objectives/SKILL.mdBusiness context, risk tolerance, compliance requirementsStage 2
2. Technical Scopeskills/pasta-scope/SKILL.mdAttack surface inventory, entry points, tech stack, DFDStage 3
3. Application Decompositionskills/pasta-decompose/SKILL.mdComponent inventory, trust boundaries, role-permission matrixStage 4
4. Threat Analysisskills/pasta-threats/SKILL.mdThreat catalog, MITRE ATT&CK mappings, attack treesStage 5
5. Vulnerability Analysisskills/pasta-vulns/SKILL.mdVulnerability inventory with CWE mappings, exploitability scoresStage 6
6. Attack Simulationskills/pasta-attack-sim/SKILL.mdExploit chains, DREAD scores, detection gap analysisStage 7
7. Risk & Impact Analysisskills/pasta-risk/SKILL.mdRisk-ranked findings, mitigation roadmap, executive summaryFinal output

Sequential Dispatch Workflow

Step 1: Resolve Scope

Parse flags and resolve the target file list per the flags spec. Build the initial file list that will be passed to Stage 1.

Step 2: Execute Stages Sequentially

For EACH stage (1 through 7), follow this pattern:

  1. Build the subagent prompt with all prior stage outputs embedded.
  2. Launch a single Task tool call for this stage.
  3. Wait for the Task to complete and capture its full output.
  4. Store the output for inclusion in subsequent stage prompts.
  5. Proceed to the next stage.

Do NOT launch the next stage until the current stage has returned.

Subagent Prompt Template

Each stage gets a FULLY self-contained prompt including all prior outputs:

Execute PASTA Stage {N}: {STAGE_NAME}

STEP 1: Read the skill definition at:
{ABSOLUTE_PATH_TO_PLUGIN}/skills/{SKILL_NAME}/SKILL.md

STEP 2: Read the PASTA framework reference at:
{ABSOLUTE_PATH_TO_PLUGIN}/shared/frameworks/pasta.md
Focus on the "Stage {N}" section for guidance.

STEP 3: Read the findings schema at:
{ABSOLUTE_PATH_TO_PLUGIN}/shared/schemas/findings.md

PRIOR STAGE OUTPUTS (use these as input for your analysis):
--- Stage 1 Output ---
{STAGE_1_OUTPUT or "N/A - this is Stage 1"}
--- Stage 2 Output ---
{STAGE_2_OUTPUT or "Not yet executed"}
[... include all prior stage outputs ...]

FILES TO ANALYZE:
{FILE_LIST}

FLAGS: --scope {SCOPE} --depth {DEPTH} --severity {SEVERITY}

IMPORTANT: Your output will be passed to Stage {N+1} as input. Structure
your output clearly with headers and sections so the next stage can parse
it. Return your stage-specific output only -- do NOT attempt to execute
later stages.

Stage Execution Details

Stage 1 -- Business Objectives: Receives only the file list. Infers business context from code artifacts (payment processing, PII handling, authentication flows, admin interfaces). Outputs business context statement, risk tolerance, and compliance requirements.

Stage 2 -- Technical Scope: Receives Stage 1 output plus file list. Maps entry points, protocols, external dependencies, and tech stack. May request expanded file scanning to find architecture artifacts (Dockerfiles, K8s manifests, API gateway configs).

Stage 3 -- Application Decomposition: Receives Stages 1-2 output. Decomposes into components, maps trust boundaries, classifies data sensitivity, documents auth/authz flows per component.

Stage 4 -- Threat Analysis: Receives Stages 1-3 output. Identifies threats using real-world intelligence, maps to MITRE ATT&CK techniques, builds attack trees for high-value targets identified in Stage 1.

Stage 5 -- Vulnerability Analysis: Receives Stages 1-4 output. Core code analysis stage. Finds specific weaknesses that enable the threats from Stage 4. Maps to CWE identifiers. Prioritizes vulnerabilities that directly enable identified threats over theoretical weaknesses.

Stage 6 -- Attack Simulation: Receives Stages 1-5 output. Constructs multi-step exploit chains combining threats (Stage 4) with vulnerabilities (Stage 5). Scores each chain with DREAD. Identifies which attacks reach business-critical assets from Stage 1.

Stage 7 -- Risk & Impact Analysis: Receives Stages 1-6 output. Calculates business-weighted risk scores (Likelihood x Business Impact). Produces risk-ranked finding list, mitigation roadmap (quick wins / short term / long term), compliance gap report, and executive summary.

Consolidation

After Stage 7 completes, the dispatcher:

1. Collect All Findings

Gather the final risk-ranked finding list from Stage 7 output. Stage 7 already incorporates context from all prior stages.

2. Format Output

Apply the --format flag to produce the final output. The Stage 7 output should already contain:

  • Executive summary (non-technical stakeholder audience)
  • Risk-ranked finding list with business impact justification
  • Mitigation roadmap with effort estimates
  • Compliance gap report (if regulatory requirements identified in Stage 1)
  • Residual risk assessment

3. Apply Severity Filter

If --severity is set, filter the finding list to show only findings at or above the specified severity threshold.

4. Cross-Reference

Populate cross-framework references on all findings:

  • references.owasp: Map to OWASP Top 10 category.
  • references.stride: Map to STRIDE category letter(s).
  • references.mitre_attck: Already populated by Stage 4.
  • references.cwe: Already populated by Stage 5.

5. Present Results

Output the final PASTA report. Include the stage progression summary showing how business objectives flowed through to risk-ranked mitigations.

Expert Mode

If --depth expert is set, after Stage 7 completes, launch red team subagents with the full PASTA output. Red team agents receive the exploit chains from Stage 6 and attempt to extend them, finding additional attack paths or chaining multiple exploit chains together.

Red team findings are appended to the final output with prefix RT and metadata.tool set to "red-team".

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.14%
按下载量换算29

Claude

31.74%
按下载量换算27

Cursor

20.94%
按下载量换算18

Gemini CLI

10.43%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills