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.
npx skills add perniemann/pnCore --skill pn-ruby-scaffoldinggit clone --depth 1 https://github.com/perniemann/pnCoreWrote 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.
[](https://agentmods.dev/skills/perniemann/pncore/pn-ruby-scaffolding)<a href="https://agentmods.dev/skills/perniemann/pncore/pn-ruby-scaffolding"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-ruby-scaffolding.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01217 |
| Opus 5 | $0.00024 | $0.00609 |
| Sonnet 5 | $0.00010 | $0.00243 |
| Haiku 4.5 | $0.00005 | $0.00122 |
Grade A, and why
pn-ruby-scaffolding 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ruby backend scaffolding
When to use
- Starting a new Ruby API project (Rails
--apior Sinatra). - Adding a new controller, route, or domain service.
- Establishing service object and error handling patterns.
Rails API-only scaffold
# Create API-only Rails app
rails new my-api --api --database=postgresql
# Omit default Rails test framework only if you use an external test stack (see Rails docs)
cd my-api
# Gemfile essentials
bundle add rack-cors # CORS
bundle add devise # auth (optional)
bundle add kaminari # pagination
bundle add rswag # OpenAPI docs
bundle add standardrb --group development # linting
Project structure
app/
controllers/
api/
v1/
users_controller.rb # Thin: validate, call service, render
application_controller.rb
services/
users/
create_user.rb # Plain Ruby: one public #call method
find_user.rb
serializers/
user_serializer.rb # Output shaping (blueprinter or JSONAPI)
models/
user.rb # ActiveRecord model: validations, scopes, associations
config/
routes.rb
Controller scaffold
# app/controllers/api/v1/users_controller.rb
# frozen_string_literal: true
module Api
module V1
class UsersController < ApplicationController
before_action :authenticate_user!
before_action :set_user, only: [:show, :update, :destroy]
def index
users = User.active.page(params[:page]).per(params[:per_page] || 20)
render json: { data: UserSerializer.render(users) }
end
def show
render json: { data: UserSerializer.render(@user) }
end
def create
result = Users::CreateUser.new(user_params, current_user).call
if result.success?
render json: { data: UserSerializer.render(result.user) }, status: :created
else
render json: { error: { code: "VALIDATION_FAILED", message: result.errors.full_messages.join(", ") } },
status: :unprocessable_entity
end
end
private
def set_user
@user = User.find(params[:id])
rescue ActiveRecord::RecordNotFound
render json: { error: { code: "NOT_FOUND", message: "User not found" } }, status: :not_found
end
def user_params
params.require(:user).permit(:email, :name, :role)
end
end
end
end
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.
- 4d ago First seen · 193 lines · 49 tokens per session scan A 95b8d186ad94
pn-ruby-scaffolding is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 1,217 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-09-03.
Other skills, from other repositories
chat-sdk
Build multi-platform chat bots with Chat SDK (chat npm package). Use when developers want to (1) Build a Slack, Teams, Google Chat, Discord, Telegram, GitHub, Linear, or WhatsApp bot, (2) Use Chat SDK to handle mentions, direct messages, subscribed threads, reactions, slash commands, cards, modals, files, or AI…
azure-identity-ts
Authenticate to Azure services using Azure Identity library for JavaScript (@azure/identity). Use when configuring authentication with DefaultAzureCredential, managed identity, service principals, or interactive browser login.
fluent-development
This skill should be used when the user asks to "build a fluent app", "create a servicenow app in typescript", or mentions "servicenow sdk", "now-sdk", "fluent", "scoped app as code", or "pro-code development" — or when the working directory contains a now.config.json or .now.ts files.
zcfg
Integrate zcfg (Zero Dependency Configuration Utility) into Java applications. Use when adding configuration loading, reading properties files, setting up application configuration, or integrating zcfg into a Java project. Triggers on "zcfg", "add configuration", "load properties", "application configuration with…
typescript-development
You MUST activate this skill when working on TypeScript or JavaScript projects.
rails-dev
Opinionated Rails conventions: rich models, concerns, CRUD-everything, state-as-records, minimal dependencies, Minitest with fixtures. Load this skill BEFORE any code-level thinking, not only before editing a file. It is required the moment a task touches Rails code in ANY way: designing or even just discussing a data…