Conclaude is a Rust CLI tool that adds guardrails to Claude Code sessions. It helps operations teams safely constrain and conclude code sessions, reducing errors and improving workflow efficiency. Integrates with Claude Code hooks and Nix for streamlined operations.
git clone https://github.com/connerohnesorge/conclaude.gitConclaude is a high-performance Rust CLI tool designed to add essential guardrails to Claude Code sessions. It integrates with Claude's lifecycle hooks to enforce code quality standards, prevent unwanted file creation, ensure tests pass, and maintain project organization. The tool works through a comprehensive hook system that handles PreToolUse, PostToolUse, Stop, and other lifecycle events, with configuration via simple YAML files. Operations teams and developers benefit from fail-fast protection that catches problems immediately, session-aware logging for complete auditability, and the ability to protect critical files from modification. By automating linting checks, test validation, and build processes, conclaude transforms chaotic AI-assisted coding sessions into controlled, validated workflows.
Install via shell script (curl), PowerShell, npm, or manual binary download from GitHub releases. Configure guardrails in a `.conclaude.yaml` file at your project root—conclaude automatically discovers it. The tool integrates with Claude Code hooks to validate code against your linting, testing, and workflow requirements.
Enforce linting and formatting rules automatically during Claude Code sessions
Prevent test suite breakage by running validation checks before session completion
Stop Claude from creating files in wrong directories with root-level protection
Protect critical test files from modification that would weaken test integrity
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/connerohnesorge/conclaudeCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm using Conclaude to manage a Claude Code session for [COMPANY] in the [INDUSTRY] sector. The session involves [DATA] processing. Please provide guardrails for the following tasks: [TASK1], [TASK2], and [TASK3]. Ensure the session concludes properly and efficiently.
# Guardrails for Claude Code Session ## Task 1: Data Ingestion - **Input Validation**: Ensure all data files are in CSV format and contain the required headers: 'ID', 'Name', 'Date', 'Amount'. - **Rate Limiting**: Limit data ingestion to 1000 records per minute to avoid server overload. - **Error Handling**: If a file is corrupted, skip it and log the error in 'error_log.txt'. ## Task 2: Data Processing - **Resource Allocation**: Allocate a maximum of 4GB of RAM for data processing. - **Concurrency**: Limit concurrent processing threads to 4. - **Checkpointing**: Save intermediate results every 500 records processed. ## Task 3: Data Export - **Output Format**: Export processed data in JSON format. - **Compression**: Compress the output file using gzip. - **Verification**: Generate a checksum for the output file and include it in the session summary. ## Session Conclusion - **Resource Cleanup**: Release all allocated resources. - **Session Summary**: Generate a summary report including start time, end time, total records processed, and any errors encountered. - **Session Termination**: Terminate the session gracefully.
Achieve ultra-fast JavaScript execution with built-in bundling and TypeScript support.
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan