setup-routines

setup-routines is a skill for Claude Code from Yesterday-AI/paperclip-plugin-company-wizard. It costs 71 tokens per session (3,223 once invoked), scanned A, original, MIT.

A skill for examining a Paperclip company’s project data and setting up targeted automated routines. Paperclip is the system whose dashboards, issues, agents, approvals, and budgets it analyses.

In plain words
What is it for?
Use it to inspect company health and issue history, identify recurring problems, and design routines triggered by cron schedules or webhooks.
Why use it?
It replaces generic always-running checks with scheduled or event-triggered routines based on actual failures, bottlenecks, blocked work, and pending approvals.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect company health and issue history, identify recurring problems, and design routines triggered by cron schedules or webhooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines
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.

Any agent
npx skills add Yesterday-AI/paperclip-plugin-company-wizard --skill setup-routines
Clone the repo
git clone --depth 1 https://github.com/Yesterday-AI/paperclip-plugin-company-wizard

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 setup-routines

README.md
[![agentmods](https://agentmods.dev/badge/skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines/github.svg)](https://agentmods.dev/skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines)
Your own site
<a href="https://agentmods.dev/skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines"><img src="https://agentmods.dev/badge/skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines/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 setup-routines

Your own site · 80×15
<a href="https://agentmods.dev/skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines"><img src="https://agentmods.dev/badge/skills/yesterday-ai/paperclip-plugin-company-wizard/setup-routines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,223 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 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.00071 $0.03223
Opus 5 $0.00036 $0.01612
Sonnet 5 $0.00014 $0.00645
Haiku 4.5 $0.00007 $0.00322

Measured 12d ago against content hash 7c451735ce0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

setup-routines 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.

Makes network callslowCapability

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

curl -s "$PAPERCLIP_API_URL/api/companies/{companyId}/dashboard" \
.claude/skills/setup-routines/SKILL.md · 312 lines

How it starts

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

Setup Routines — Data-Driven Routine Provisioning

This skill analyzes a Paperclip company's actual operational data to design routines that match real needs — not generic templates. The goal: replace expensive always-on heartbeats with targeted routines that fire only when needed.

Heartbeats cost tokens. Routines save money.

Analysis Framework

Before creating a single routine, run the full diagnostic. Each step feeds signal into the routine design.

Phase 1: Company Health Snapshot

Pull the dashboard for a quick pulse check.

curl -s "$PAPERCLIP_API_URL/api/companies/{companyId}/dashboard" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY"

Extract:

  • Agent error count — agents in error state need a recovery routine
  • Open vs done ratio — high open count with low velocity = bottleneck
  • Blocked count — chronic blockers need an escalation routine
  • Budget utilization — high utilization = routines must be lean
  • Pending approvals — stalled approvals need a nudge routine

Phase 2: Issue Archaeology

Query completed and open issues to find recurring patterns.

# Recent completed issues — look for repeat categories
curl -s "$PAPERCLIP_API_URL/api/companies/{companyId}/issues?status=done&limit=100" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY"

# Open issues — find unassigned or stalled work
curl -s "$PAPERCLIP_API_URL/api/companies/{companyId}/issues?status=todo,in_progress,blocked&limit=50" \
  -H "Authorization: Bearer $PAPERCLIP_API_KEY"

Pattern mining — look for these signals in issue titles and descriptions:

Signal What to look for Routine type
Repeated bug category Multiple issues with same root cause (e.g., "fix lint", "CI broken", "runtime error") Preventive check — catch before it recurs
Unassigned high-priority todo issues with high/critical priority and no assignee Triage routine for PM/CEO
Stalled in-progress in_progress issues with no recent comments/activity Stall detector for CEO
Deploy-related issues Issues mentioning deploy, Railway, Vercel, CI/CD Post-deploy verification with webhook trigger
API integration issues Issues about external API failures, rate limits, auth API health check routine
Error/crash issues Runtime errors, hydration, crashes, 500s Runtime health patrol
Security issues Auth bugs, secrets leaked, CORS, CSP Security audit periodic routine
Performance issues Lighthouse, Core Web Vitals, bundle size Performance regression check

Read the full file on GitHub · 312 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. 12d ago First seen · 312 lines · 71 tokens per session scan A 7c451735ce0f

Subscribe to this mod's changes

setup-routines is a skill published in the GitHub repository Yesterday-AI/paperclip-plugin-company-wizard (171 stars, last pushed 4mo ago), licensed MIT. It adds 71 tokens to every session and 3,223 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.