project-platform-diagnose

project-platform-diagnose is a skill for Claude Code, Codex from n-n-code/n-n-code-skills. It costs 42 tokens per session (558 once invoked), scanned A, original, MIT.

A diagnostic guide for failures caused by the computer or runtime environment rather than ordinary program logic. It covers differences such as operating systems, shells, installed runtimes, containers, CI systems, and headless mode.

In plain words
What is it for?
Use it for build, installation, startup, continuous-integration, container, browser, terminal, or runtime failures that depend on the environment.
Why use it?
It helps separate environment problems from code bugs by reproducing the exact failure and recording the relevant system facts.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/n-n-code/n-n-code-skills/project-platform-diagnose
Any agent
npx skills add n-n-code/n-n-code-skills --skill project-platform-diagnose
Clone the repo
git clone --depth 1 https://github.com/n-n-code/n-n-code-skills

Made for: Claude Code, Codex.

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 project-platform-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/project-platform-diagnose.svg)](https://agentmods.dev/skills/n-n-code/n-n-code-skills/project-platform-diagnose)
Your own site
<a href="https://agentmods.dev/skills/n-n-code/n-n-code-skills/project-platform-diagnose"><img src="https://agentmods.dev/badge/skills/n-n-code/n-n-code-skills/project-platform-diagnose.svg" alt="Measured on agentmods" 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 558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.00558
Opus 5 $0.00021 $0.00279
Sonnet 5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

Measured today against content hash 75c6d9727496, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

project-platform-diagnose 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 today.

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.

.agents/skills/project-platform-diagnose/SKILL.md · 56 lines

How it starts

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

Project Platform Diagnose

This overlay can stand alone for environment-only triage. Add matching language or discipline guidance when the diagnosis reaches source code or a specialized implementation boundary.

When to use

The problem differs by operating system, architecture, terminal, shell, CI, container, headless mode, installed runtime, service environment, or another platform fact.

Not for

Do not use this as primary for a reproducible logic bug (use the matching principle skill and add project-core-dev only when repository-specific completion evidence is not concrete), a known config-contract defect (project-config-and-tests), Playwright harness or browser installation repair (setup-playwright), vendored dependency ownership (project-vendor-boundary), or release artifact layout (project-release-maintainer). Start here only while the environment remains a plausible cause, then hand off when the failure is isolated.

Diagnostic Workflow

  1. Inspect the failing command's side effects before rerunning it. Reproduce it within existing authority, using an isolated or check-only variant when needed, and capture exit status and relevant output. A failed install, migration, or deployment is not automatically safe to repeat. Separate build or install failures from startup and runtime failures.
  2. Record only relevant non-secret facts: OS, architecture, runtime and tool versions, shell or terminal mode, local versus CI or container, filesystem and permission assumptions, and required services. Never dump the full environment or expose credentials.
  3. Compare a working and failing environment when both exist. Build the smallest difference set and change one plausible variable at a time.
  4. Prefer built-in diagnostics and reproducible smoke checks. Use temporary directories, disposable containers, or other reversible probes when available; clean up created state.
  5. Classify direct observations separately from hypotheses. Distinguish an environment limitation, missing dependency, install defect, unsupported platform, config defect, and app regression before recommending a fix.
  6. Report whether the issue reproduced, the discriminating evidence, remaining unknowns, and the next smallest probe. Implement a code, config, setup, or release fix when the request includes repair, using the matching skill and existing authorization; otherwise report the diagnosis.

Read the full file on GitHub · 56 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. today Changed · +4 lines 75c6d9727496
  2. 5d ago First seen · 52 lines · 42 tokens per session scan A aa0b773a17b1

Subscribe to this mod's changes

project-platform-diagnose is a skill published in the GitHub repository n-n-code/n-n-code-skills (4 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 558 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-08-31.

Related

Other skills, from other repositories

design-feature

Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".

gtrabanco/agentic-workflow · 51 tokens

audit-docs

Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index entries already merged/closed, broken documentation-map links, dependency cycles, artifacts in the wrong language, naming-convention violations — and reports them…

gtrabanco/agentic-workflow · 188 tokens

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".

gtrabanco/agentic-workflow · 71 tokens

plan-feature-from-issue

Internal step of plan-feature: turn a feature-request issue into a scoped, sized, roadmap-mapped SPEC product half (capability closure satisfied) with Closes #N traceability.

gtrabanco/agentic-workflow · 45 tokens

plan-feature

Route designed features or issues into engineering planning and roadmap registration; undesigned work stops at design-feature. Supports --next, --from-issue, and --scaffold. Triggers: "plan-feature", "plan a feature", "plan the next roadmap feature", "create SPEC and TASKS".

gtrabanco/agentic-workflow · 66 tokens

product-audit

Audit the whole product across code, quality, process, docs, roadmap, and tooling. Persist one severity-ranked, F-numbered report with proposals; never fix or file work. Triggers: "product-audit", "audit the product", "full health check", "are we product-ready", "CTO review".

gtrabanco/agentic-workflow · 69 tokens