pn-ci-triage

pn-ci-triage is a skill for Cursor from perniemann/pnCore. It costs 41 tokens per session (492 once invoked), scanned A, original, MIT.

A guide for reading failed CI logs and identifying the type and likely cause of a failure. CI is the automated system that runs checks such as tests, builds, and linting.

In plain words
What is it for?
Use it to locate the failed job and step, classify errors involving tests, builds, dependencies, secrets, timeouts, or permissions, and suggest a focused fix.
Why use it?
It turns a failed pipeline into a specific problem to investigate instead of requiring guesswork.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the pn-core plugin — 133 skills, 19 commands, 9 agents, 1 MCP server shipped together

Good fit Use it to locate the failed job and step, classify errors involving tests, builds, dependencies, secrets, timeouts, or permissions, and suggest a focused fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perniemann/pncore/pn-ci-triage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add perniemann/pnCore --skill pn-ci-triage
Clone the repo
git clone --depth 1 https://github.com/perniemann/pnCore

Made for: Cursor.

Or install pn-core, the plugin that ships this one along with the rest of its 133 skills, 19 commands, 9 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pn-ci-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/perniemann/pncore/pn-ci-triage/github.svg)](https://agentmods.dev/skills/perniemann/pncore/pn-ci-triage)
Your own site
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-ci-triage"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-ci-triage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pn-ci-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-ci-triage"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-ci-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 492 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00492
Opus 5 $0.00020 $0.00246
Sonnet 5 $0.00008 $0.00098
Haiku 4.5 $0.00004 $0.00049

Measured 8d ago against content hash 88e94fcce448, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pn-ci-triage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/pn-core-mcp/content/skills/ci/pn-ci-triage/SKILL.md · 32 lines

What it actually says

CI triage skill

When to use

  • A GitHub Actions or GitLab CI run has failed
  • User asks "why did CI fail?" or "how do I fix this CI error?"
  • Drafting or updating a workflow and need to reason about steps and dependencies

Workflow

  1. Locate the failure: Identify which job and which step failed from the CI summary or logs. Note the exact error message and exit code if shown.
  2. Classify the failure: Common types: (a) test failure (assertion or runtime in tests), (b) lint/format failure, (c) build/compile failure, (d) missing secret or env var, (e) dependency install failure, (f) timeout or resource issue, (g) permission or path issue.
  3. Suggest a fix: For (a)–(c) point to the file and line if possible and suggest a concrete change or command to run locally. For (d) remind to set the secret/variable in the platform and not in the workflow file. For (e)–(g) suggest platform-specific fixes (e.g. cache key, job timeout, working directory).
  4. Link to docs: Where helpful, link to the relevant CI docs (e.g. GitHub Actions, GitLab CI) for the failing step or feature.
  5. Dev/prod staging: When user asks for dev/prod or staging vs production CI setup, recommend pn-ci-dev-prod-split.
  6. Suggestion only: Frame output as suggestions; the user should apply changes and re-run CI. Do not assume you have full repo or env context.

Output

  • Failing job and step, failure type, and suggested fix (with file/line when applicable).
  • Links to CI platform docs where helpful.

Guardrails

  • pn-ci-fix — Use when the user wants the agent to iteratively fix CI (apply fixes and re-run until green). Use pn-ci-triage for diagnosis and suggestions only.
  • pn-ci-dev-prod-split — Use when scaffolding or changing dev/prod or staging workflows.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 32 lines · 41 tokens per session scan A 88e94fcce448

Subscribe to this mod's changes

pn-ci-triage is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed 5d ago), licensed MIT. It adds 41 tokens to every session and 492 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

wshobson/agents · 44 tokens

secrets-management

Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions. Use when handling sensitive credentials, rotating secrets, or securing CI/CD environments.

wshobson/agents · 39 tokens

deployment-pipeline-design

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.

wshobson/agents · 58 tokens

gitlab-ci-patterns

Build GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizing pipeline performance, or setting up automated testing and deployment.

wshobson/agents · 46 tokens

nx-workspace-patterns

Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.

wshobson/agents · 35 tokens

typescript

TypeScript coding conventions, best practices, and patterns for writing clean, maintainable code.

genkit-ai/genkit · 20 tokens