powernode-platform: Skill for Claude Code

.claude/skills/bootstrap/SKILL.md

bootstrap is a skill for Claude Code from nodealchemy/powernode-platform. It costs 14 tokens per session (662 once invoked), scanned B, original, MIT.

A workflow for preparing and checking a Ruby on Rails development environment. It covers database migrations, seed data, running services, and smoke tests.

In plain words
What is it for?
Use it to find pending migrations, audit and run seed files, fix seed errors, restart the backend and worker services, and verify their status.
Why use it?
A project may fail before development because its database schema, sample data, or background services are not ready. This workflow checks those parts and limits repeated seed-fix attempts.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: positional $N argument.

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 →

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/bootstrap/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 bootstrap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nodealchemy/powernode-platform/bootstrap"><img src="https://agentmods.dev/badge/skills/nodealchemy/powernode-platform/bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00014 $0.00662
Opus 5.5 $0.00006 $0.00265
Sonnet 5.5 $0.00003 $0.00132
Haiku 4.5 $0.00001 $0.00066

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

Security

Grade B, and why

bootstrap scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo systemctl restart "${RAILS:-powernode-backend@default}"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/api/v1/health
.claude/skills/bootstrap/SKILL.md · 83 lines

How it starts

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

Bootstrap Dev Environment

Validate and fix the development environment end-to-end. Follow this process exactly:

Step 1: Check Pending Migrations

cd server && bundle exec rails db:migrate:status

If any migrations are down, run bundle exec rails db:migrate.

Step 2: Audit Seed Files

Use Grep and Read to scan server/db/seeds/ files for:

  • class_name: references that don't match actual models in server/app/models/
  • Missing foreign_key: paired with class_name:
  • Hardcoded UUIDs that may conflict

Report any issues found before proceeding.

Step 3: Run Seeds

cd server && bundle exec rails db:seed 2>&1

If seeds fail:

  1. Read the error message carefully
  2. Identify the failing seed file and line
  3. Read the seed file and the related model
  4. Fix the seed file (association name, missing record, validation error)
  5. Re-run bundle exec rails db:seed
  6. Max 3 attempts — if still failing, stop and report the error

Step 4: Restart Services

Discover the units first. On a module-composed node (dev-cell, ops-hub) they are generated as powernode-<moduleID>-<service>.service, and no @default unit exists: a guessed name fails systemctl silently, which looks exactly like a successful restart. Fall back to the installer's @default name only when discovery finds nothing, which is the plain installer-shape host. Same shape as the deploy skill.

RAILS=$(systemctl list-units 'powernode-*-rails.service' --no-pager --no-legend --plain | awk '{print $1}' | head -1)
SIDEKIQ=$(systemctl list-units 'powernode-*-sidekiq.service' --no-pager --no-legend --plain | awk '{print $1}' | head -1)
sudo systemctl restart "${RAILS:-powernode-backend@default}"
sudo systemctl restart "${SIDEKIQ:-powernode-worker@default}"
systemctl is-active "${RAILS:-powernode-backend@default}" "${SIDEKIQ:-powernode-worker@default}"

Wait 5 seconds, then check status:

sudo scripts/systemd/powernode-installer.sh status

Step 5: Smoke Test

Read the full file on GitHub · 83 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 · +10 lines f43a9c8fe02b
  2. 2mo ago First seen · 73 lines · 14 tokens per session scan B 7420032a30bc

Subscribe to this mod's changes

bootstrap is a skill published in the GitHub repository nodealchemy/powernode-platform (4 stars, last pushed 5d ago), licensed MIT. It adds 14 tokens to every session and 662 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

fetch-data

A workflow that turns a plain-language request for business data into a database query, runs it in a data warehouse or lake, and returns the results for analysis.

agentscope-ai/QwenPaw-Data · 276 tokens

query-odps

A set of rules for writing and running read-only MaxCompute, also called ODPS, SQL queries. MaxCompute is a cloud data-warehouse service; the workflow covers query structure, partitions, filtering, joins, performance, and recovery from failures.

agentscope-ai/QwenPaw-Data · 81 tokens

brain-bitemporal

How to query the INITE Brain knowledge graph across time — the asOf parameter, validFrom/validUntil semantics, reading retracted facts, and the memorydiff "what changed between two cursors" surface. Use when the user's question has a temporal dimension ("on X date", "before Y", "what's new since last conversation").

inite-ai/inite-brain-service · 74 tokens

sider

Category: Drug-centric | Type: DB | Subcategory: Adverse Drug Reaction (ADR) Link: http://sideeffects.embl.de/ | Paper: https://doi.org/10.1093/nar/gkv1075.

QSong-github/DrugClaw · 0 tokens

repodb-query

Query the RepoDB drug repurposing database. Use whenever the user asks about drug-disease associations, drug repurposing candidates, or wants to look up any entity (drug name, indication, DrugBank ID, UMLS CUI, NCT ID) in RepoDB.

QSong-github/DrugClaw · 61 tokens

sf-knowledge-field-history-retention

Apply Salesforce knowledge and best practices for Field Audit Trail Implementation Guide.

Avinava/sf-documentation-knowledge · 20 tokens