thoughts_init

thoughts_init is a skill for Claude Code from hoblin/claude-ruby-marketplace. It costs 6 tokens per session (558 once invoked), scanned A, original, MIT.

A setup procedure for a repository-based thoughts system: shared files and scripts used to keep research, plans, and work notes. It checks the required directories, links, Git repositories, and commands before making changes.

In plain words
What is it for?
Use it when preparing a repository for the thoughts and RPI workflows or diagnosing why those workflows are not ready to run.
Why use it?
It detects missing setup before other workflows depend on it, and asks for permission before fixing problems.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the rpi plugin — 13 skills, 12 agents shipped together

Good fit Use it when preparing a repository for the thoughts and RPI workflows or diagnosing why those workflows are not ready to run.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add hoblin/claude-ruby-marketplace
Claude Code
/plugin install rpi

Made for: Claude Code.

Or install rpi, the plugin that ships this one along with the rest of its 13 skills, 12 agents.

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 thoughts_init

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoblin/claude-ruby-marketplace/thoughts_init/github.svg)](https://agentmods.dev/skills/hoblin/claude-ruby-marketplace/thoughts_init)
Your own site
<a href="https://agentmods.dev/skills/hoblin/claude-ruby-marketplace/thoughts_init"><img src="https://agentmods.dev/badge/skills/hoblin/claude-ruby-marketplace/thoughts_init/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 thoughts_init

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoblin/claude-ruby-marketplace/thoughts_init"><img src="https://agentmods.dev/badge/skills/hoblin/claude-ruby-marketplace/thoughts_init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 558 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.00006 $0.00558
Opus 5.5 $0.00002 $0.00223
Sonnet 5.5 $0.00001 $0.00112
Haiku 4.5 $0.00001 $0.00056

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

Security

Grade A, and why

thoughts_init 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.

plugins/rpi/skills/thoughts_init/SKILL.md · 71 lines

What it actually says

Initialize Thoughts System

Initialize the thoughts system for the current repository.

Process

Step 1: Diagnostic Checks

Run these checks and collect results:

  1. ~/thoughts exists: test -d "$HOME/thoughts"
  2. ~/thoughts is git repo: test -d "$HOME/thoughts/.git"
  3. ~/thoughts/global structure exists: test -d "$HOME/thoughts/global"
  4. Scripts exist: test -x "$HOME/thoughts/bin/thoughts-sync"
  5. Scripts in PATH: command -v thoughts-sync >/dev/null 2>&1
  6. Current dir is git repo: test -d ".git"
  7. ./thoughts/shared symlinked correctly: test -L "./thoughts/shared" && readlink "./thoughts/shared" | grep -q "thoughts/repos/"

Step 2: Report or Fix

If all checks pass:

Thoughts system ready. RPI workflow commands will now work correctly.

- ~/thoughts: OK (with global/ structure)
- Scripts: OK (in PATH)
- Repository: OK (thoughts/shared → ~/thoughts/repos/{repo}/shared)

If any check fails: Build todo list of what needs fixing, present to user, wait for authorization.

Step 3: Execute Fixes (after authorization)

If ~/thoughts missing:

mkdir -p "$HOME/thoughts/bin"
mkdir -p "$HOME/thoughts/global/$(whoami)"
mkdir -p "$HOME/thoughts/global/shared"
mkdir -p "$HOME/thoughts/repos"
git -C "$HOME/thoughts" init
cp "${CLAUDE_PLUGIN_ROOT}/templates/thoughts-bin/"* "$HOME/thoughts/bin/"
chmod +x "$HOME/thoughts/bin/"*

If PATH not configured:

RC_FILE="$HOME/.bashrc"
[[ "$SHELL" == *"zsh"* ]] && RC_FILE="$HOME/.zshrc"
echo 'export PATH="$HOME/thoughts/bin:$PATH"' >> "$RC_FILE"

Tell user to run source ~/.zshrc or restart terminal.

If current repo not initialized:

"$HOME/thoughts/bin/thoughts-init-repo"

Step 4: Verify and Report

After fixes, re-run checks and report final status.

Important

  • Never make changes without user authorization
  • If current directory is not a git repo, report error and stop
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 First seen · 71 lines · 6 tokens per session scan A 35332cb9734f

Subscribe to this mod's changes

thoughts_init is a skill published in the GitHub repository hoblin/claude-ruby-marketplace (37 stars, last pushed 1mo ago), licensed MIT. It adds 6 tokens to every session and 558 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-09-07.

Related

Other skills, from other repositories

plan-orchestrator

Route hierarchical-planning intents to the correct backing script. Use when the user invokes /aura-frog:plan (with or without subcommand), mentions plan verbs (expand/next/replan/promote/archive/freeze/thaw/undo/status/conflicts), or types a plan-vocabulary bare word with .claude/plans/active.json present. Owns verb…

nguyenthienthanh/aura-frog · 91 tokens

conflict-detector

L1-L4 conflict detection between a proposed T4 task and pending-confirm sibling tasks. L1 (file overlap) + L2 (function/region overlap) ship in v3.7.0-beta.2 as deterministic bash. L3 (semantic LLM) + L4 (architectural LLM) are stubbed for v3.7.0-rc.1.

nguyenthienthanh/aura-frog · 84 tokens

plan-loader

Loads minimum hierarchical plan context (.claude/plans/) for current execution focus. Auto-invokes every session when plans exist. Stays under 800 always-loaded tokens regardless of plan tree size.

nguyenthienthanh/aura-frog · 43 tokens

wrap-up

End-of-session handler: checks if the plan is complete. If complete: quick retrospective, forward follow-up prompt, and (in a repo) refresh + clean gone branches. If incomplete: skip cleanup, emit resume prompts. Cleanup needs a repo; rest doesn't.

dryvist/claude-code-plugins · 56 tokens

track-followups

Record triaged follow-up work where it'll be seen: create the item in Vikunja or Zammad (incidents), deduplicating first and reporting the id. Use when session work outlives it or items were triaged elsewhere. Never opens a GitHub issue.

dryvist/claude-code-plugins · 60 tokens

issue-sweep

Use when a tracker's open issues piled up, went stale, or stopped reflecting reality — maybe fixed, duplicated, vague, superseded — reconcile against actual code, group by root cause, turn into a plan. Any tracker. Use before a work session too.

dryvist/claude-code-plugins · 57 tokens