Aiclair — AI skill for Claude Code
Community framework for AI assistant hooks — write once, run across Claude Code, Cursor, Codex and more.
How to install Aiclair
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HugoLopes45/aiclair and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Aiclair does
Community framework for AI assistant hooks — write once, run across Claude Code, Cursor, Codex and more.
Alternatives in AI
- Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
- Skills Manage — Desktop app to manage AI coding agent skills across Claude Code, Cursor, Gemini CLI, Codex, and 20+ platforms 2.2k ★
- Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
README
aiclair
   
Safety guardrails for Claude Code — stop accidental data loss, secret leaks, and dangerous commands before they execute.
Why
Claude Code is powerful. That's the problem.
- It will run
rm -rfif you ask it to clean up. Sometimes on the wrong directory. - It will write your AWS key into a config file, commit it, and push.
- It will ask you twelve questions about a two-word prompt.
aiclair adds three hooks that run silently on every prompt and tool call. They block the dangerous stuff, catch secrets before they land in files, and ask clarifying questions only when a prompt is genuinely vague.
No pip install. No build step. Pure Python stdlib.

Install
curl -fsSL https://raw.githubusercontent.com/HugoLopes45/aiclair/main/install.sh | bash
Pick which hooks to install interactively, or use flags:
# Install everything
curl -fsSL https://raw.githubusercontent.com/HugoLopes45/aiclair/main/install.sh | bash -s -- --all
# Install specific hooks
curl -fsSL https://raw.githubusercontent.com/HugoLopes45/aiclair/main/install.sh | bash -s -- --hooks "danger-detector secret-guard"
**Uninstall:**
bash ~/.claude/plugins/aiclair/uninstall.sh
Hooks
| Hook | Fires on | What it does |
|---|---|---|
| prompt-improver | Every prompt | Asks 1–6 targeted questions when a prompt is vague. Clear prompts pass through immediately. |
| danger-detector | Bash commands | Blocks destructive and malicious commands before they run. |
| secret-guard | File writes, Bash commands, Bash output | Blocks secrets |
Related Skills
SkillTrans
A powerful CLI tool that automatically converts Claude Code Skills into native configurations for Trae, Cursor
AI Hook
Ultra-fast AI-agent hook dispatcher & autonomous rule engine (Rust + embedded QuickJS). Write guardrail rules
Easyskillz
Single source of truth for AI agent skills. One folder, all your tools, zero repetition. Write a skill once —
Hawk Hooks
One registry for all your AI coding tools. Define skills, hooks, agents, prompts, and MCP servers once; hawk s
Claude Code Practices
Interactive AI installer for Claude Code: setup once, keep context across sessions, enforce critical rules wit
Skills Hub Registry
Open registry of community-contributed AI coding skills (SKILL.md files) — daily-synced to skills-hub.ai. Inst
Related Agents
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per
Contribution Assistant
Toolkit contribution assistant that improves and standardizes agents, skills, rules, workflows, hooks, and doc
Codex Architect
Codex artifact architect. Use for .codex/, MCP guard, hooks, AGENTS.md emission, skills, slash commands.