FC: Skill for Claude Code

.claude/skills/pitr-audit/SKILL.md

pitr-audit is a skill for Claude Code from msw2004727/FC. It costs 125 tokens per session (1,547 once invoked), scanned A, original, no licence file.

A read-only audit for suspected incorrect writes to Firestore, a cloud database from Google. It reads earlier database versions kept by point-in-time recovery, builds an hourly timeline, narrows the change to the minute, and drafts a repair without performing it.

In plain words
What is it for?
Use it during the seven-day recovery period to investigate damaged Firestore data, classify fields that can be refilled automatically or need confirmation, and prepare a masked report and repair draft.
Why use it?
It helps determine who changed which fields and whether values were overwritten, cleared, or changed accidentally before anyone writes a fix.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is msw2004727/FC's own configuration. It tells Claude Code how to work on FC itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything FC configures →

Reuse

Borrowing it

Nothing to install: this file belongs to msw2004727/FC. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/msw2004727/FC/main/.claude/skills/pitr-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/msw2004727/FC

Made for: Claude Code.

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 pitr-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/msw2004727/fc/pitr-audit/github.svg)](https://agentmods.dev/skills/msw2004727/fc/pitr-audit)
Your own site
<a href="https://agentmods.dev/skills/msw2004727/fc/pitr-audit"><img src="https://agentmods.dev/badge/skills/msw2004727/fc/pitr-audit/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 pitr-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/msw2004727/fc/pitr-audit"><img src="https://agentmods.dev/badge/skills/msw2004727/fc/pitr-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,547 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00125 $0.01547
Opus 5.5 $0.00050 $0.00619
Sonnet 5.5 $0.00025 $0.00309
Haiku 4.5 $0.00013 $0.00155

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

Security

Grade A, and why

pitr-audit scanned grade A with 1 finding 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 12d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

9. **離線模擬**:用 `node -r ./mock.cjs audit.cjs` 攔截 `child_process.spawnSync`(假 token)與 `global.fetch`(假 Firestore,非 runQuery/batchGet 一律丟錯),至少模擬:單純錯誤寫入、同小時 A 先改再錯誤寫入、錯誤寫入早於保留期、不該納入的文件、未受影響文件。
.claude/skills/pitr-audit/SKILL.md · 38 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 12d ago First seen · 38 lines · 125 tokens per session scan A bfcc71f3497f

Subscribe to this mod's changes

pitr-audit is a skill published in the GitHub repository msw2004727/FC (2 stars, last pushed yesterday), with no licence file. It adds 125 tokens to every session and 1,547 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-25.

Related

pitr-audit compared with skills from other repositories

pitr-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pitr-auditmsw2004727/FCSkill2yesterdaynoneA125Claude Code
reproduce-buggoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A130Claude Code, Codex
triage-issuesgoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A164Claude Code, Codex
postgresql-indexingprowler-cloud/prowlerSkill15kyesterdayApache-2.0A108Claude Code
graphjin-evaldosco/graphjinSkill3.2k5d agoApache-2.0A27Claude Code, Codex
axiom-audit-grdb-performanceCharlesWiltgen/AxiomSkill1.3kyesterdayMITA43Codex
django-perf-reviewgetsentry/skillsSkill1.1kyesterdayApache-2.0A55Claude Code