Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计提醒

pir皮尔

Agent Skill

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

总安装

1,482

周安装

63

GitHub Stars

1

下载量

519
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/delexw/claude-code-misc --skill pir

简介

pir 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它支持灵活的信息获取策略,适用于多种研究或分析场景。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体调用方式。
  • 安装前建议核实权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • pir 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Post Incident Record (PIR)

Discover issues from PagerDuty, Datadog, Cloudflare, and Rollbar concurrently, auto-determine severity, and produce completed PIR forms for each issue.

Inputs

Raw arguments: $ARGUMENTS

Infer from the arguments:

  • QUERY: what to investigate. Passed directly to each sub-skill. Defaults to "incidents today".
  • CF_DOMAIN_ZONE: (optional) Cloudflare domain and zone ID in domain:zone_id format. Passed to the cloudflare-traffic-investigator skill. If not provided, the cloudflare skill will ask the user.

Resolved during Step 1 (not provided directly):

  • SINCE: UTC ISO8601 start of analysis window. Auto-derived from explicit time in QUERY or from PD incident timestamps.
  • UNTIL: UTC ISO8601 end of analysis window. Auto-derived from explicit time in QUERY or from PD incident timestamps.
  • PD_INCIDENT: PagerDuty incident ID detected from QUERY (triggers PD-first orchestration path).
  • SERVICE_HINT: Service name extracted from PD incident (used to scope Datadog/Rollbar queries).
  • TITLE_HINT: Incident title extracted from PD incident (used as Rollbar keyword search terms).
  • SLACK_CHANNEL: Resolved in Step 2e — from invoker context or $SLACK_INCIDENT_CHANNEL env var. May be a single channel or a comma- or pipe-separated list of channels.

PIR Form Fields

Each PIR maps to these fields — see PIR Form Fields for format, examples, and output template:

FieldRequiredSource
Impact SummaryYesSynthesised from all skills
WhatYesPagerDuty incident + Datadog + Cloudflare
WhoYesDatadog (RUM/error tracking) + Cloudflare (user counts)
CulpritYesCloudflare (JA4, traffic sources) + Datadog (error traces) + Rollbar (stack traces, error-deploy correlation) + PagerDuty (trigger details) + Slack (root cause discussion) + Codebase analysis (culprit commits)
Incident dateYesEarliest detection across all sources (PagerDuty, Datadog, Cloudflare)
WhenYesPagerDuty created/resolved + Datadog timeline
RemediationOptionalPagerDuty notes + Datadog monitors + Slack (actions taken during incident)
Incident controllerOptionalPagerDuty escalation policy responders + Slack (active responders in channel)

Severity Auto-Classification

Determine severity from the collected data — do NOT ask the user:

SeverityCriteria
SEV1Service outage or >50% error rate on critical path; cascading failures; >30 min duration
SEV2Partial degradation; 10-50% error rate; single service affected; 10-30 min duration
SEV3Minor impact; <10% error rate; brief spike (<10 min); limited user impact

Use the highest applicable severity when multiple criteria match.

Execution

Step 1: Prepare — Resolve Time Scope

See step1-gather-date-range.md

Detects the input mode from QUERY and resolves SINCE/UNTIL:

  • PD URL/ID in QUERY → runs pagerduty-oncall first (step 1b), extracts timestamps → sets SINCE, UNTIL, SERVICE_HINT, TITLE_HINT, PD_INCIDENT
  • Explicit time in QUERY → parses into UTC ISO8601 SINCE/UNTIL → all four sub-skills run in parallel
  • Vague or empty QUERY → defaults to past 24 hours → all four sub-skills run in parallel

Step 2: Discover — PagerDuty, Datadog, Cloudflare, Rollbar

Orchestration depends on whether PD_INCIDENT was resolved in Step 1:

  • If PD_INCIDENT is set: step 2a is skipped (data already collected). Run 2b + 2c + 2d + 2e in parallel.
  • Otherwise: run all five (2a + 2b + 2c + 2d + 2e) in parallel.

Each sub-skill receives SINCE and UNTIL (UTC ISO8601) when available, ensuring a consistent analysis window across all data sources.

2a. PagerDuty — Incidents

See step2a-discover-incidents.md — Invokes Skill("pagerduty-oncall"). Skipped if PD_INCIDENT was resolved in Step 1b.

2b. Datadog — Observability Data

See step2b-discover-datadog.md — Invokes Skill("datadog-analyser"). Passes SINCE, UNTIL, SERVICE_HINT when available.

2c. Cloudflare — Traffic Analysis

See step2c-discover-cloudflare.md — Invokes Skill("cloudflare-traffic-investigator"). Passes domain and zone ID from CF_DOMAIN_ZONE if provided. Passes SINCE, UNTIL when available.

2d. Rollbar — Error Tracking

See step2d-discover-rollbar.md — Invokes Skill("rollbar-reader"). Passes SINCE, UNTIL, TITLE_HINT when available.

2e. Slack — Incident Channel

See step2e-discover-slack.md — Invokes Skill("slack-explorer"). Resolves channel from invoker context or $SLACK_INCIDENT_CHANNEL env var. Skipped gracefully if no channel is found.

Step 3a: Codebase Analysis

See step3a-codebase-analysis.md — Analyses git history across working directories, correlates with incident timeline from discovery reports.

Step 3b: Generate PIR via NotebookLM

See step3b-generate-nlm.md — Runs after 3a. Creates NotebookLM notebook, uploads all discovery and codebase reports, generates report, infographic, and slide deck. Returns notebook ID.

Step 4: Present Results

See step4-present-results.md — Displays PIR summary and provides notebook link for interactive exploration. Preserves the NotebookLM notebook for further queries.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.95%
按下载量换算176

Claude

30.73%
按下载量换算159

Cursor

18.71%
按下载量换算97

Gemini CLI

9.32%
按下载量换算48

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills