1. Conduid
  2. Agents
  3. Claude Sentient
MCP server · Agents

Claude Sentient

Autonomous development orchestration for Claude Code. Coordinates native tools into a self-driving loop: plan → execute → verify → commit.

34Low

Scored 6 months ago · breakdown

About Claude Sentient

Claude Sentient is an MCP server in the Agents category: autonomous development orchestration for Claude Code. Coordinates native tools into a self-driving loop: plan → execute → verify → commit.

Install

From source
git clone https://github.com/thebiglaskowski/claude-sentient

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Claude Sentient

Powered by Claude · Grounded in docs

I know everything about Claude Sentient. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Claude Sentient

Autonomous development orchestration for Claude Code

Claude Sentient coordinates Claude Code's native capabilities into an autonomous development workflow. It's not a replacement — it's a thin orchestration layer that makes built-in tools work together cohesively.

Version Claude Code License Profiles


⚠️ Important Notice

This is an experimental orchestration framework. Claude Sentient provides prompts, profiles, and configurations designed to enhance Claude Code workflows. Results may vary.

  • Not a guarantee — These prompts guide Claude but don't guarantee specific outcomes
  • Your responsibility — Always review Claude's output before committing changes
  • Evolving project — Expect changes between versions
  • Native-first — Uses Claude Code's built-in tools, not custom replacements

🤖 What is Claude Sentient?

Claude Sentient transforms Claude Code sessions into autonomous development loops:

USER REQUEST → INIT → PLAN → EXECUTE → VERIFY → COMMIT → DONE
                ↓        ↓         ↓         ↓
           Profile   TaskCreate  Work    Quality
           Detection            Items    Gates

Philosophy: Claude Code already has task management, planning modes, sub-agents, and memory. We don't reinvent these — we orchestrate them.


⚡ Quick Start

One-Line Install

Bash (Linux/Mac):

curl -fsSL https://raw.githubusercontent.com/thebiglaskowski/claude-sentient/main/install.sh | bash

PowerShell (Windows):

iwr -useb https://raw.githubusercontent.com/thebiglaskowski/claude-sentient/main/install.ps1 | iex

After Installation

/cs-validate              # Verify setup
/cs-status                # See detected profile
/cs-loop "your task"      # Start working

Uninstall

Bash (Linux/Mac):

curl -fsSL https://raw.githubusercontent.com/thebiglaskowski/claude-sentient/main/uninstall.sh | bash

PowerShell (Windows):

iwr -useb https://raw.githubusercontent.com/thebiglaskowski/claude-sentient/main/uninstall.ps1 | iex

Or run locally:

./uninstall.sh                # Standard uninstall
./uninstall.sh --dry-run      # Preview what would be removed
./uninstall.sh --purge        # Also remove learnings.md
./uninstall.sh --keep-settings  # Don't touch .claude/settings.json

By default, learnings.md (your decisions/patterns) is preserved and settings.json is backed up to .bak. CLAUDE.md is left for manual removal.


📊 By the Numbers

Component Count Purpose
🎯 Commands 19 Slash commands (/cs-*)
📋 Profiles 9 Language-specific quality gates
📏 Rules 15 Topic-specific standards
📄 Templates 5 Governance file templates
🚦 Quality Gates 4 Lint, test, build, git (with auto-fix)
🔄 Loop Phases 7 INIT → EVALUATE
🎣 Hooks 15 Session lifecycle, security, teams, tracking
🧪 Tests 1043 Profiles (242), agents (159), hooks (266), commands (93), schemas (214), integration (69)
🤖 Agent Roles 9 Security, devops, frontend, backend, tester, architect, database, docs, build-resolver

🎯 Commands

Command Purpose Docs
/cs-loop Autonomous loop: understand → plan → execute → verify → commit Details
/cs-plan Plan complex tasks before executing (chains to cs-loop) Command
/cs-status Show tasks, git state, profile (can resume work) Command
/cs-validate Validate configuration (can auto-fix issues) Command
/cs-learn Save learnings to file + MCP memory (searchable) Memory System
/cs-mcp Check, register, and validate MCP servers MCP Integration
/cs-review Review pull requests with automated analysis Command
/cs-assess Full codebase health audit (6+ dimensions) Command
/cs-init Create/optimize nested CLAUDE.md architecture Command
/cs-ui UI/UX audit for web projects Command
/cs-team Create/manage Agent Teams for parallel work Command
/cs-docs Generate and manage feature documentation handbook Command
/cs-deploy Deployment readiness check (CI, Docker, env, migrations) Command
/cs-sessions Browse, search, and resume previous Claude Code sessions Command
/cs-multi Configure per-phase model routing for multi-model orchestration Command
/cs-debug Structured debug loop: reproduce → trace → isolate → fix → test Command
/cs-log Logging audit: gaps, unstructured logs, secrets, correlation IDs Command

📋 Profile Detection

Sentient auto-detects your project type and loads appropriate tooling. See .claude-sentient/profiles/ for full configurations.

Profile Detected By Tools Config
Python pyproject.toml, *.py ruff, pytest, pyright python.yaml
TypeScript tsconfig.json, *.ts eslint, vitest, tsc typescript.yaml
Go go.mod, *.go golangci-lint, go test go.yaml
Rust Cargo.toml clippy, cargo test rust.yaml
Java pom.xml, build.gradle checkstyle, JUnit java.yaml
C/C++ CMakeLists.txt, Makefile clang-tidy, ctest cpp.yaml
Ruby Gemfile rubocop, rspec ruby.yaml
Shell *.sh, *.ps1 shellcheck shell.yaml
General (fallback) auto-detect general.yaml

Python Environment Detection

For Python projects, Sentient detects and uses the correct environment:

Indicator Environment How Commands Run
environment.yml Conda conda run -n <env> pytest
.venv/, venv/ Virtualenv Uses venv's Python
poetry.lock Poetry poetry run pytest
pdm.lock PDM pdm run pytest

🔄 The Loop

When you run /cs-loop, Claude Sentient orchestrates:

Phase 1: INIT       → Detect profile, load rules, check governance
Phase 2: UNDERSTAND → Classify complexity (simple/moderate/complex)
Phase 3: PLAN       → Create tasks via TaskCreate
Phase 4: EXECUTE    → Work through tasks, update status
Phase 5: VERIFY     → Run quality gates (lint, test, build)
Phase 6: COMMIT     → Create checkpoint commit
Phase 7: EVALUATE   → Done? Exit. More work? Loop.

🚦 Quality Gates

All gates must pass before committing:

Gate Requirement
✅ LINT Zero errors from linter
✅ TEST All tests pass
✅ BUILD Project builds successfully
✅ GIT Clean working state

🔌 Native Tools Used

Claude Sentient leverages built-in Claude Code features:

Feature Native Tool How Used
Task Queue TaskCreate, TaskUpdate, TaskList, TaskGet Work tracking
Task Control TaskStop, TaskOutput Background task timeouts
Planning EnterPlanMode, ExitPlanMode Complex tasks
Sub-agents Task with subagent_type Parallel work
Memory (File) .claude/rules/*.md Persistent learnings
Memory (MCP) search_nodes, open_nodes Searchable prior decisions
Skill Chaining Skill tool Commands invoke each other
Agent Teams Team lead + teammates Parallel multi-instance work
Web Tools WebSearch, WebFetch Find fixes, fetch changelogs
GitHub PR get_pull_request*, create_review Full PR workflow
GitHub Search search_code Find reference implementations
Questions AskUserQuestion Structured decision options
MCP Servers mcp__* tools Library docs, GitHub, memory

🔗 MCP Server Integration

Claude Sentient can leverage MCP (Model Context Protocol) servers for extended capabilities. See full MCP documentation for details.

Server Purpose Auto-Used By
context7 Library documentation /cs-loop INIT (fetches docs for imports)
github GitHub API (PRs, issues, code search) /cs-loop INIT/VERIFY, /cs-review
memory Searchable knowledge graph /cs-loop INIT (search prior decisions), /cs-learn
filesystem File system access Manual
puppeteer Browser automation /cs-loop VERIFY (web projects)

Setup MCP Servers

/cs-mcp              # Check what's configured vs connected
/cs-mcp --fix        # Auto-register servers from settings.json
/cs-mcp --test       # Validate servers are responding

Note: MCP servers are registered at the user level (~/.claude.json). Once registered, they're available in all projects.


🔌 Plugins

The installer auto-installs recommended plugins from the Claude Code official marketplace when the claude CLI is available. Plugin installation is non-fatal — if claude isn't found or a plugin fails to install, setup continues normally.

Auto-Installed Plugins

Security Guidance (all projects, user scope):

security-guidance@claude-plugins-official scans file content for security anti-patterns like eval(), pickle.loads(), unsanitized HTML injection, and hardcoded secrets. It complements the bash-validator and file-validator hooks that ship with Claude Sentient by catching patterns at the content level rather than the command level.

LSP Plugins (profile-dependent, project scope):

Each language profile declares a recommended LSP plugin that gives Claude deeper understanding of your code — real-time type information, symbol resolution, and diagnostics that go beyond static file reading.

Profile Plugin What It Adds
Python pyright-lsp Type inference, import resolution, missing attribute detection
TypeScript typescript-lsp Type checking, module resolution, refactoring support
Go gopls-lsp Type analysis, interface satisfaction, unused variable detection
Rust rust-analyzer-lsp Borrow checker insights, trait resolution, macro expansion
Java jdtls-lsp Class hierarchy, dependency analysis, annotation processing
C/C++ clangd-lsp Header resolution, compile command awareness, memory safety hints
Ruby, Shell, General — No LSP plugin (profile tools handle linting directly)

Recommended Plugins (Optional)

These are not auto-installed but are shown in the installer summary for manual setup:

claude plugin install pr-review-toolkit@claude-plugins-official   # Enhanced PR review workflows
claude plugin install ralph-loop@claude-plugins-official           # Advanced loop orchestration

Checking Plugin Status

Run /cs-validate to see which plugins are installed and which are missing. The PLUGINS advisory section shows installed, missing, and optional plugins with one-liner install commands.


📁 Project Structure

your-project/
├── .claude/
│   ├── commands/cs-*.md    # 15 slash commands
│   ├── hooks/*.cjs         # 15 hook scripts (security, teams, tracking)
│   ├── agents/*.md         # 9 native agent definitions
│   ├── skills/*/           # 3 skills with references/ subdirectories
│   ├── settings.json       # Hook + team configuration
│   └── rules/*.md          # Path-scoped rules + learnings
├── .claude-sentient/        # Claude Sentient project files
│   ├── profiles/*.yaml      # 9 language profiles
│   ├── schemas/*.json       # 12+ JSON schemas
│   ├── templates/           # Governance templates
│   ├── documentation/       # Feature documentation
│   ├── examples/            # Example CLAUDE.md templates
│   └── test-utils.js        # Shared test infrastructure

🛠️ Common Workflows

Workflow 1: Feature Development

# 1. Start with planning for complex features
/cs-plan "add JWT authentication"

# Claude explores codebase, creates a plan, asks for approval
# After approval, you can execute immediately or later:

# 2. Execute the plan
/cs-loop "implement the JWT auth plan"

# Claude: INIT → detects TypeScript profile
#         PLAN → creates tasks with dependencies
#         EXECUTE → implements auth module, tests, docs
#         VERIFY → runs eslint, vitest
#         COMMIT → creates checkpoint "feat: add JWT authentication"

Workflow 2: Bug Fix

# For simpler bugs, go straight to loop
/cs-loop "fix the race condition in user login #142"

# Claude automatically:
# - Fetches issue #142 details via MCP github
# - Investigates the code
# - Creates minimal fix
# - Runs tests
# - Commits with "fix: resolve login race condition (closes #142)"

Workflow 3: Code Review + Fix

# 1. Review a PR
/cs-review 47

# Claude analyzes PR #47, provides detailed feedback with file:line refs

# 2. If issues found, fix them
/cs-loop "address review comments on PR #47"

Workflow 4: Codebase Health Check

# 1. Full assessment
/cs-assess

# Claude provides scores (1-10) for:
# - Architecture, Code Quality, Security
# - Performance, Tech Debt, Test Coverage
# - UI/UX (for web projects)

# 2. Address issues
/cs-loop "fix all immediate priority items from assessment"

Workflow 5: Learning from Mistakes

# Claude makes a mistake, you correct it
> "Don't use any types in this project"

# Save the learning for future sessions
/cs-learn pattern "No any types" "Use explicit types, never any"

# Or Claude proposes it after correction:
# "Should I add a rule to prevent this?"

Workflow 6: Resuming Work

# Check where you left off
/cs-status

# Shows: Profile, Tasks (3 pending, 1 in progress), Git state

# Continue from where you stopped
/cs-loop "continue"  # Or just describe what's next

Workflow 7: UI/UX Audit (Web Projects)

# For React/Vue/Next.js projects
/cs-ui

# Claude audits against modern design standards:
# - Spacing (8px grid), Typography, Colors
# - Components, Accessibility, Responsiveness
# - Provides before/after code examples

Workflow 8: Context Architecture

# Create CLAUDE.md for a new project
/cs-init

# Claude analyzes project, detects tech stack, creates:
# - Root CLAUDE.md (overview, quality philosophy, tech stack)
# - Nested CLAUDE.md files for significant directories
# - Zero-tolerance quality philosophy injected by default

# Or optimize an existing monolithic CLAUDE.md
/cs-init  # Detects existing CLAUDE.md, offers to split into nested files

Workflow 9: Parallel Work with Agent Teams

# For large tasks across multiple packages/modules
/cs-loop "refactor auth across all packages"

# cs-loop detects 6 independent tasks across 3 packages
# Offers team mode: "3 parallel teammates. Use Agent Teams?"
# If yes: spawns teammates, each owns a package
# Lead coordinates, teammates work in parallel
# Quality gates enforced via TeammateIdle/TaskCompleted hooks

# Or create a team manually
/cs-team "investigate performance bottleneck from 3 angles"

# Check team status
/cs-team --status

# Stop and cleanup
/cs-team --stop

Workflow 10: MCP Server Setup

# First time setup
/cs-mcp --fix      # Auto-register servers from settings.json
/cs-mcp --test     # Verify all servers respond

# Now /cs-loop will:
# - Fetch library docs via Context7
# - Link commits to GitHub issues
# - Search prior decisions from Memory

🎣 Hooks

Claude Sentient includes 15 hook scripts that integrate with Claude Code's hook system:

Hook Event Purpose
session-start.cjs SessionStart Initialize session, detect profile, create state
session-end.cjs SessionEnd Archive session, cleanup state files
context-injector.cjs UserPromptSubmit Detect topics (auth, test, API), inject context
bash-validator.cjs PreToolUse (Bash) Block dangerous commands (rm -rf /, fork bombs)
file-validator.cjs PreToolUse (Write/Edit) Protect system paths, SSH keys, credentials
post-tool-observer.cjs PostToolUse (Write/Edit/Bash) Track changes, suggest lint, record gate results
agent-tracker.cjs SubagentStart Track subagent spawning
agent-synthesizer.cjs SubagentStop Synthesize agent results, record history
pre-compact.cjs PreCompact Backup state before context compaction
dod-verifier.cjs Stop Verify Definition of Done, save final state
teammate-idle.cjs TeammateIdle Quality check before teammate goes idle
task-completed.cjs TaskCompleted Validate deliverables before task completion
worktree-lifecycle.cjs WorktreeCreate/WorktreeRemove Write context into new worktrees; log removals
config-watcher.cjs ConfigChange Log settings changes; alert on hooks section edits

Hooks are configured in .claude/settings.json and installed automatically.


🧪 Tests

Test suites validate hooks, profiles, commands, agents, schemas, and cross-module integrity:

# Profile validation (242 tests) — schema compliance, gates, infrastructure, cross-profile consistency
node .claude-sentient/profiles/__tests__/test-profiles.js

# Hook tests (266 tests) — security, I/O contracts, Agent Teams, context predictions
node .claude/hooks/__tests__/test-hooks.js

# Command validation (93 tests) — frontmatter, structure, auto-fix, deploy, skill chaining
node .claude/commands/__tests__/test-commands.js

# Schema validation (214 tests) — JSON schema structure, profile/agent/gate compliance, cross-module integrity
node .claude-sentient/schemas/__tests__/test-schemas.js

# Integration tests (69 tests) — cross-file references, hook chain flow, install/uninstall parity, doc consistency, plugin parity, MCP degradation
node .claude-sentient/integration/__tests__/test-integration.js

All core test suites use shared .claude-sentient/test-utils.js with built-in assert — zero external dependencies.


📄 Governance Files

Created automatically on first /cs-loop run:

File Purpose
STATUS.md Current progress, what's done/next
CHANGELOG.md Version history
DECISIONS.md Architecture decisions (ADRs)
.claude/rules/learnings.md Decisions, patterns, learnings

🧠 Self-Improvement

Claude Sentient includes a self-improvement mechanism. See Self-Improvement for details.

"After every correction, Claude proposes a rule update so it doesn't make that mistake again."

Learnings are stored in .claude/rules/learnings.md and persist across sessions.


📚 Documentation

Core Docs

File Purpose
CLAUDE.md Main instructions (comprehensive reference)
STATUS.md Current progress
CHANGELOG.md Version history
DECISIONS.md Architecture decisions

Reference

Directory Contents
profiles/ Language-specific quality gate configurations
rules/ Topic-specific coding standards (API design, security, etc.)
templates/ Governance file templates

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run /cs-validate to verify
  5. Submit a pull request

📜 License

MIT — Use freely, contribute back.

See LICENSE for details.


⚠️ Disclaimer

This software is provided "as is", without warranty of any kind. Claude Sentient is an experimental tool that provides prompts and configurations for Claude Code. The developers are not responsible for any issues arising from its use, including but not limited to code changes, data loss, or unintended behavior. Always review AI-generated output before applying changes to your codebase.


README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Claude Sentient

How do I install Claude Sentient?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Claude Sentient safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Claude Sentient still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.