powernode-platform: Skill for Claude Code

.claude/skills/audit/SKILL.md

audit is a skill for Claude Code from nodealchemy/powernode-platform. It costs 11 tokens per session (931 once invoked), scanned A, original, MIT.

A comprehensive code-quality audit that runs checks for coding patterns, TypeScript types, Ruby syntax, and other backend or frontend problems. TypeScript is a typed version of JavaScript, and Ruby is a programming language.

In plain words
What is it for?
Use it to audit the whole codebase or focus on the backend, frontend, types, or coding-pattern rules.
Why use it?
It brings several quality checks together so problems can be found across the relevant parts of a project.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is nodealchemy/powernode-platform's own configuration. It tells Claude Code how to work on powernode-platform 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 powernode-platform configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(PROJECT_DIR=*), Bash(./scripts/*), Bash(cd *), Bash(npx *), Bash(bundle *), Bash(git *), Read, Grep, Glob.

Reuse

Borrowing it

Nothing to install: this file belongs to nodealchemy/powernode-platform. 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/nodealchemy/powernode-platform/develop/.claude/skills/audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nodealchemy/powernode-platform

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 audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nodealchemy/powernode-platform/audit"><img src="https://agentmods.dev/badge/skills/nodealchemy/powernode-platform/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 931 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.00011 $0.00931
Opus 5.5 $0.00004 $0.00372
Sonnet 5.5 $0.00002 $0.00186
Haiku 4.5 $0.00001 $0.00093

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

Security

Grade A, and why

audit 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 1mo 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.

.claude/skills/audit/SKILL.md · 93 lines

How it starts

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

Codebase Quality Audit

Run quality checks and report results. Accept an optional focus argument to limit scope.

Focus Areas

  • all (default) — run everything
  • backend — Ruby checks only (steps 1, 4, 5, 6)
  • frontend — Frontend checks only (steps 3, 7, 8)
  • types — TypeScript type check only (step 3)
  • patterns — Pattern validation only (steps 1, 2)

Checks

Run applicable checks sequentially. Capture output from each.

The harness does not export $PROJECT_DIR, and shell state does not carry between Bash calls, so each command below defines it first as the repository root.

1. Pattern Validation

PROJECT_DIR="$(git rev-parse --show-toplevel)"; cd $PROJECT_DIR && ./scripts/pattern-validation.sh

2. Quick Pattern Check

PROJECT_DIR="$(git rev-parse --show-toplevel)"; cd $PROJECT_DIR && ./scripts/quick-pattern-check.sh

3. TypeScript Type Check

PROJECT_DIR="$(git rev-parse --show-toplevel)"; cd $PROJECT_DIR/frontend && npx tsc --noEmit 2>&1

4. Ruby Syntax Check

Check all .rb files changed since last commit:

PROJECT_DIR="$(git rev-parse --show-toplevel)"; cd $PROJECT_DIR/server && git diff --name-only --relative HEAD -- '*.rb' | xargs -I{} ruby -c {} 2>&1

Also check untracked .rb files:

PROJECT_DIR="$(git rev-parse --show-toplevel)"; cd $PROJECT_DIR/server && git ls-files --others --exclude-standard -- '*.rb' | xargs -I{} ruby -c {} 2>&1

5. Rails Eager Load Check (backend only)

Verify all Ruby classes load without errors:

PROJECT_DIR="$(git rev-parse --show-toplevel)"; cd $PROJECT_DIR/server && bundle exec rails runner "Rails.application.eager_load!; puts 'Eager load OK'" 2>&1

6. Frozen String Literal Pragma

Scan for Ruby files missing the pragma:

PROJECT_DIR="$(git rev-parse --show-toplevel)"; grep -rL "frozen_string_literal: true" $PROJECT_DIR/server/app/ --include="*.rb" | head -20

7. Console.log Scan

PROJECT_DIR="$(git rev-parse --show-toplevel)"; grep -rn "console\.log" $PROJECT_DIR/frontend/src/ --include="*.ts" --include="*.tsx" | head -20

Read the full file on GitHub · 93 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. 1mo ago Changed · +3 lines dd2bc044feff
  2. 2mo ago First seen · 90 lines · 11 tokens per session scan A cf79fa897367

Subscribe to this mod's changes

audit is a skill published in the GitHub repository nodealchemy/powernode-platform (4 stars, last pushed 5d ago), licensed MIT. It adds 11 tokens to every session and 931 once invoked, about $0.0000 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-08-31.