Skip to content
Back to skills

Thoughts Init

ASecurity

Initialize thoughts system for current repository

  • 38 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
developmentbashgit

Security analysis

A100/100

Scanned November 28, 2026

npx -y skills add hoblin/claude-ruby-marketplace --skill thoughts_init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Thoughts Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Thoughts Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoblin-thoughts-init/badge)](https://www.skillsdirectory.com/skills/hoblin-thoughts-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: thoughts_init
description: Initialize thoughts system for current repository
---

# Initialize Thoughts System

Initialize the thoughts system for the current repository. The thoughts tools (`thoughts-sync`, `thoughts-status`, `thoughts-init-repo`, `spec-metadata`) come with rpi as executables; nothing needs installing.

## 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. Current dir is git repo: `test -d ".git"`
5. `./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)
- 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:**
```bash
mkdir -p "$HOME/thoughts/global/$(whoami)"
mkdir -p "$HOME/thoughts/global/shared"
mkdir -p "$HOME/thoughts/repos"
git -C "$HOME/thoughts" init
```

**If current repo not initialized:**
```bash
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.