Help us improve
Share bugs, ideas, or general feedback.
From stepwise-core
Manages thoughts/ directory: initializes structure with hardlinks, syncs searchable/ for grep searches, generates git metadata for frontmatter. Use after creating/modifying research docs, plans, notes, or project init.
npx claudepluginhub nikeyes/stepwise-dev --plugin stepwise-coreHow this skill is triggered — by the user, by Claude, or both
Slash command
/stepwise-core:thoughts-managementThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage the thoughts/ directory system for organizing research, plans, and notes with efficient searchable hardlinks.
Implements Manus-style file-based planning for complex tasks by creating task_plan.md, findings.md, and progress.md. Use for multi-step tasks, research projects, or >5 tool calls; adds session recovery and Git worktree mode.
Multi-project Manus-style planning with coordinator pattern. Supports project switching, separate planning/source paths, and cross-machine sync via git. Creates task_plan.md, findings.md, and progress.md.
Manages Obsidian vault as developer knowledge base: create/search/update notes with standard frontmatter, organize by projects/technologies/Claude Code, auto-capture commits/tasks/components.
Share bugs, ideas, or general feedback.
Manage the thoughts/ directory system for organizing research, plans, and notes with efficient searchable hardlinks.
Use this Skill automatically in these situations:
thoughts/shared/research/thoughts/shared/plans/thoughts/Creates the complete thoughts/ directory structure in the current project.
When to use:
Command:
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-init
What it does:
{username}/, shared/, searchable/.gitignore for searchable/ directorySynchronizes hardlinks in thoughts/searchable/ for efficient grep operations.
When to use:
Command:
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-sync
What it does:
Important: Always run this after creating or modifying documents in thoughts/
Generates git and project metadata for document frontmatter.
When to use:
Command:
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-metadata
Output format:
Current Date/Time (TZ): 2025-01-12 14:30:45 PST
ISO DateTime: 2025-01-12T14:30:45-0800
Date Short: 2025-01-12
Current Git Commit Hash: abc123def456
Current Branch Name: main
Repository Name: my-project
Git User: John Doe
Git Email: john@example.com
Timestamp For Filename: 2025-01-12_14-30-45
Use this metadata to populate:
/stepwise-dev:research_codebase commandthoughts/shared/research/bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-sync
/stepwise-dev:create_plan or /stepwise-dev:iterate_plan commandthoughts/shared/plans/bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-sync
bash ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/thoughts-metadata
The thoughts/ system maintains this structure:
thoughts/
├── {username}/ # Personal notes (default: nikey_es)
│ ├── tickets/ # Ticket documentation
│ └── notes/ # Personal observations
├── shared/ # Team-shared documents
│ ├── research/ # Research documents
│ ├── plans/ # Implementation plans
│ └── prs/ # PR descriptions
└── searchable/ # Auto-generated hardlinks
└── [hardlinks to all .md files for fast grep]
thoughts-sync creates hardlinks, not copiessearchable/, always document paths by removing "searchable/"thoughts/searchable/nikey_es/notes/X.md → thoughts/nikey_es/notes/X.mdSet custom username (optional):
export THOUGHTS_USER=your_name
Default username: nikey_es
Cause: Files were deleted from thoughts/ but hardlinks remain in searchable/
Solution: The script automatically cleans them up. No action needed.
Cause: Not in a git repository or git not available
Solution: Ensure you're in a git repository. For testing, the script provides fallback values.
Cause: Scripts are not executable
Solution: Run chmod:
chmod +x ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/*
All scripts are located in: ${CLAUDE_PLUGIN_ROOT}/skills/thoughts-management/scripts/
| Script | Purpose | When to use |
|---|---|---|
thoughts-init | Initialize directory structure | Once per project |
thoughts-sync | Synchronize hardlinks | After every document change |
thoughts-metadata | Generate git metadata | Before creating frontmatter |
The following slash commands automatically use this Skill:
/stepwise-dev:research_codebase - Uses thoughts-metadata and thoughts-sync/stepwise-dev:create_plan - Uses thoughts-metadata and thoughts-sync/stepwise-dev:iterate_plan - Uses thoughts-sync/stepwise-dev:implement_plan - Uses thoughts-sync/stepwise-dev:validate_plan - Uses thoughts-syncThese commands will automatically invoke the appropriate scripts when needed.