Co-Pilot
Updated a month ago

thoughtbox-dot-claude

KKastalien-Research
0.0k
kastalien-research/thoughtbox-dot-claude
82
Agent Score

πŸ’‘ Summary

A reusable configuration folder for enhancing Claude Code workflows with various agents, commands, and a memory system.

🎯 Target Audience

Software developers looking to streamline workflowsProject managers coordinating multiple agentsAI researchers needing structured documentationDevOps engineers implementing CI/CD pipelinesTechnical writers documenting AI systems

πŸ€– AI Roast: β€œPowerful, but the setup might scare off the impatient.”

Security AnalysisCritical Risk

Risk: Critical. Review: shell/CLI command execution; outbound network access (SSRF, data egress); filesystem read/write scope and path traversal. Run with least privilege and audit before enabling in production.

thoughtbox-dot-claude

A comprehensive, reusable .claude/ configuration folder for Claude Code CLI. This repository contains a curated collection of skills, commands, hooks, plugins, agents, and a learning memory system to enhance Claude Code workflows.

Quick Start

Copy the .claude/ folder into any project:

# Clone and copy git clone https://github.com/Kastalien-Research/thoughtbox-dot-claude.git cp -r thoughtbox-dot-claude/.claude/ /path/to/your/project/

What's Included

/agents - Custom Sub-Agents

Specialized agents for specific tasks:

  • meta-agent.md - Generates new sub-agent configuration files from descriptions
  • fact-checking-agent.md - Verifies claims in documentation against sources of truth
  • reasoning-evaluator.md - Evaluates reasoning quality and logical consistency

/ai_docs - Reference Documentation

Curated documentation for AI context:

  • Anthropic docs - Claude Code hooks, subagents, custom commands, output styles
  • OpenAI quick start - Reference for OpenAI API patterns
  • Memory system design - Full design documentation for the memory system
  • uv single-file scripts - Python scripting patterns

/bin - Memory CLI Tools

Command-line utilities for the memory system:

| Command | Description | |---------|-------------| | memory-add | Add new learnings to memory | | memory-query | Search memory for relevant patterns | | memory-stats | View memory system statistics | | memory-rank | Rank memory entries by relevance | | memory-pipe | Pipe content into memory |

/commands - Slash Commands (Skills)

Organized collection of 60+ slash commands:

Core Categories

| Category | Description | Key Commands | |----------|-------------|--------------| | analysis/ | Code analysis & insights | /context-aware-review, /knowledge-graph, /evolution-tracker | | clear-thought/ | Structured thinking | /think-solve, /think-debug, /think-decide, /think-create | | debugging/ | Systematic debugging | /systematic-debug, /distributed-debug, /temporal-debug | | development/ | Code generation | /implementation-variants, /spec-to-test, /implement-spec | | exploration/ | Solution discovery | /parallel-explorer | | loops/ | OODA loop building blocks | Authoring, exploration, verification, refinement loops | | meta/ | Higher-order frameworks | /ulysses-protocol, /virgil-protocol, /learning-accelerator | | orchestration/ | Multi-agent coordination | /swarm-intelligence, /meta-orchestrator, /adaptive-workflow | | research/ | Research workflows | /docs-researcher | | speckit.* | Specification workflows | /speckit.specify, /speckit.plan, /speckit.tasks, /speckit.implement | | startup/ | Session initialization | /prime, /metacursor, /metaclaude | | synthesis/ | Pattern extraction | /pattern-synthesizer, /knowledge-fusion, /wisdom-distillation | | toolscontext/ | MCP tool context | /exa, /firecrawl, /context7 | | workflows/ | MCP orchestration | /mcp-workflow, /mcp-chain, /mcp-orchestrate |

Memory Commands

  • /memory-start - Initialize memory system
  • /memory-add-quick - Quick add to memory
  • /memory-search - Search memory

/hooks - Lifecycle Hooks

Event-driven shell scripts for Claude Code:

| Hook | Trigger | Purpose | |------|---------|---------| | pre_tool_use.sh | Before tool execution | Block dangerous git operations, validate commands | | post_tool_use.sh | After tool execution | Log operations, track file access | | session_start.sh | Session begins | Load context, show memory status | | session_end_memory.sh | Session ends | Prompt for learning capture | | user_prompt_submit.sh | User submits prompt | Pre-process user input | | git-validator.sh | Permission requests | Advanced git validation (block/approve/prompt) | | notification.sh | Various events | Desktop notifications | | track_file_access.sh | File operations | Track which files agents access | | memory_pattern_detector.sh | Periodic | Identify memory gaps and patterns |

Protection Features:

  • Blocks force pushes and direct pushes to protected branches
  • Prevents dangerous rm -rf operations
  • Validates commit message format
  • Logs all git operations for audit trail

/hooks-alternate - Alternative Hook Set

Alternative hook implementations with additional utilities:

  • utils/llm/ - LLM API wrappers (Anthropic, OpenAI, Ollama)
  • utils/tts/ - Text-to-speech integrations (ElevenLabs, OpenAI, pyttsx3)

/output-styles - Response Formatting

Customize Claude's output format:

| Style | Description | |-------|-------------| | ultra-concise.md | Minimal, essential information only | | bullet-points.md | Structured bullet point format | | markdown-focused.md | Rich markdown formatting | | table-based.md | Tabular data presentation | | yaml-structured.md | YAML-formatted responses | | html-structured.md | HTML-formatted output | | tts-summary.md | Optimized for text-to-speech | | genui.md | Generative UI components |

/plugins - Claude Code Plugins

Modular extensions with commands and agents:

agent-sdk-dev

  • Command: /new-sdk-app - Scaffold new Agent SDK projects
  • Agents: SDK verifiers for Python and TypeScript

commit-commands

  • Commands: /commit, /commit-push-pr, /clean_gone
  • Purpose: Streamlined git workflows

feature-dev

  • Command: /feature-dev - 7-phase feature development workflow
  • Agents: code-explorer, code-architect, code-reviewer

pr-review-toolkit

  • Command: /review-pr - Comprehensive PR review
  • Agents: code-reviewer, silent-failure-hunter, code-simplifier, comment-analyzer, pr-test-analyzer, type-design-analyzer

security-guidance

  • Purpose: Security-focused hooks and validation

/rules - Learning Memory System

A living memory system that improves over time:

rules/
β”œβ”€β”€ 00-meta.md              # How the memory system works
β”œβ”€β”€ TEMPLATE.md             # Template for new rules
β”œβ”€β”€ active-context/         # Current work focus
β”‚   └── current-focus.md
β”œβ”€β”€ infrastructure/         # System-level patterns
β”‚   β”œβ”€β”€ firebase.md
β”‚   └── hooks-calibration.md
β”œβ”€β”€ lessons/                # Time-stamped learnings
β”‚   └── 2026-01-version-control-safety.md
β”œβ”€β”€ testing/                # Testing conventions
β”‚   └── behavioral-tests.md
└── tools/                  # Tool-specific patterns
    └── thoughtbox.md

Key Features:

  • Path-specific auto-loading: Rules load automatically when working on matching files
  • Freshness tags: Hot (2 weeks), Warm (3 months), Cold (>3 months), Archived
  • Calibration metrics: Track discovery time, coverage gaps, repeated issues
  • Progressive learning: Memory improves with each agent interaction

/skills - Reusable Skills

Domain expertise modules:

| Skill | Description | |-------|-------------| | docker/ | Multi-stage builds, security, optimization | | effect-ts/ | Effect-TS functional TypeScript patterns | | firebase-firestore/ | Firebase Admin SDK and Firestore | | gcp-cloud-run/ | Google Cloud Run deployment | | mcp-builder/ | Building MCP servers | | mcp-client-builder/ | Building MCP clients | | skill-creator/ | Creating new skills | | thoughtbox-expertise/ | ThoughtBox MCP server patterns | | thoughtbox-mcp/ | Building thoughtbox-style MCP servers | | zod4/ | Zod 4 schema validation |

/status_lines - Status Line Scripts

Python scripts for custom Claude Code status lines (v2, v3, v4 variants).

/data & /state

  • data/ - Persistent data storage
  • state/ - Runtime state (hook logs, calibration data, file access logs)

settings.local.json

Local settings for enabled MCP servers:

{ "enabledMcpjsonServers": [ "github", "thoughtbox", "firecrawl-mcp", "context7" ] }

Memory System Overview

The memory system is designed to make salient information "ready at hand":

  1. Capture - Document learnings as they happen
  2. Consolidate - Integrate patterns into domain rules
  3. Prune - Archive stale information
  4. Calibrate - Track metrics to improve topology

Using Memory

# Check current focus /read .claude/rules/active-context/current-focus.md # Search memory /memory-search "pattern name" # Capture a learning /meta capture-learning # View memory status .claude/bin/memory-stats

Customization

Adding New Rules

  1. Copy TEMPLATE.md to the appropriate domain folder
  2. Add YAML frontmatter with path patterns
  3. Document learnings in the standard format

Creating New Commands

Add markdown files to /commands/[category]/:

# Command Name Description of what this command does. ## Usage /command-name [args] ## Implementation [Command logic here]

Adding Hooks

  1. Create shell script in /hooks/
  2. Make executable: chmod +x .claude/hooks/your-hook.sh
  3. Configure in .claude/settings.json

Repository Structure

.claude/
β”œβ”€β”€ agents/          # Custom sub-agents
β”œβ”€β”€ ai_docs/         # Reference documentation
β”œβ”€β”€ bin/             # CLI utilities
β”œβ”€β”€ commands/        # Slash commands (60+)
β”œβ”€β”€ data/            # Persistent data
β”œβ”€β”€ hooks/           # Lifecycle hooks
β”œβ”€β”€ hooks-alternate/ # Alternative hooks with LLM/TTS utils
β”œβ”€β”€ output-styles/   # Response formatting
β”œβ”€β”€ plugins/         # Modular extensions
β”œβ”€β”€ rules/           # Learning memory system
β”œβ”€β”€ skills/          # Domain expertise
β”œβ”€β”€ state/           # Runtime state
β”œβ”€β”€ status_lines/    # Status line scripts
└── settings.local.json

License

MIT

Contributing

  1. Fork the repository
  2. Add your improvements
  3. Submit a pull request

Focus areas for contributions:

  • New skills for common development tasks
  • Additional hooks for safety and automation
  • Memory system improvements
  • New
5-Dim Analysis
Clarity8/10
Novelty7/10
Utility9/10
Completeness9/10
Maintainability8/10
Pros & Cons

Pros

  • Comprehensive set of tools and commands
  • Supports structured workflows and memory management
  • Customizable and reusable configuration
  • Strong focus on security with hooks

Cons

  • Initial setup may be complex for beginners
  • Documentation could be overwhelming
  • Requires familiarity with command-line tools
  • Limited examples for advanced use cases

Related Skills

pytorch

S
toolCode Lib
92/ 100

β€œIt's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”

agno

S
toolCode Lib
90/ 100

β€œIt promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”

nuxt-skills

S
toolCo-Pilot
90/ 100

β€œIt's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author Kastalien-Research.