pn-ci-fix

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

A workflow for finding failed CI jobs, applying focused fixes, and checking the pipeline again. CI is the automated system that runs tests, builds, and other checks on code changes.

In plain words
What is it for?
Use it after a merge, rebase, or dependency update when CI is failing and you want to inspect logs, fix the first actionable error, and repeat until the checks pass.
Why use it?
It helps unblock a failing branch through small, low-risk corrections instead of changing many things at once.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

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

Good fit Use it after a merge, rebase, or dependency update when CI is failing and you want to inspect logs, fix the first actionable error, and repeat until the checks pass.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perniemann/pncore/pn-ci-fix
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-fix
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 150 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-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/perniemann/pncore/pn-ci-fix/github.svg)](https://agentmods.dev/skills/perniemann/pncore/pn-ci-fix)
Your own site
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-ci-fix"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-ci-fix/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-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-ci-fix"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-ci-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 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.00042 $0.00644
Opus 5.5 $0.00017 $0.00258
Sonnet 5.5 $0.00008 $0.00129
Haiku 4.5 $0.00004 $0.00064

Measured 8d ago against content hash 5a999b9beb53, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pn-ci-fix 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-fix/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix CI

When to use

  • Branch CI is failing and you want a fast, iterative path to green checks.
  • You need targeted, minimal fixes applied one failure at a time (diagnosis only: see § CI triage below).
  • CI is red after a merge, rebase, or dependency bump and needs to be unblocked quickly.

Workflow

  1. Identify the latest run for the current branch.
  2. Inspect failed jobs and extract the first actionable error.
  3. Apply the smallest safe fix.
  4. Re-run CI and repeat until green.

Guardrails

  • Fix one actionable failure at a time.
  • Prefer minimal, low-risk changes before broader refactors.

Output

  • Primary failing job and root error
  • Fixes applied in iteration order
  • Current CI status and next action

Guardrails

CI triage (diagnosis only)

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.

Read the full file on GitHub · 61 lines

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 Changed · +26 lines · +4 tokens per session 5a999b9beb53
  2. 2mo ago First seen · 35 lines · 38 tokens per session scan A ad7aed6febd1

Subscribe to this mod's changes

pn-ci-fix is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 644 once invoked, about $0.0002 per session on Opus 5.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

pn-ci-fix compared with skills from other repositories

pn-ci-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pn-ci-fixperniemann/pnCoreSkill0yesterdayMITA42Cursor
typescriptgenkit-ai/genkitSkill6.6kyesterdayApache-2.0A20Claude Code, Codex
swarm-migrateyonatangross/orchestkitSkill312todayMITA58Claude Code
documentation-patternsyonatangross/orchestkitSkill312todayMITA53Claude Code
zb-release-pipelineAdamBien/airailsSkill76yesterdayMITA148Claude Code, Codex
typescript-developmentsammcj/agentic-codingSkill1743d agoApache-2.0A17Claude Code, Codex
js-conventionsmetarhia/metaskillsSkill611mo agoMITA120Claude Code, Codex