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
- Embeddedskills — An open-source collection of embedded development and debugging skills for Claude Code, Copilot, TRAE, and oth 593 ★
- HarnessKit — More than a skill manager — manage skills, MCP servers, plugins, hooks, CLIs, configs, memory & rules across e 416 ★
- Registry Broker Skills — AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols 410 ★
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
Claude Code Practices
Interactive AI installer for Claude Code: setup once, keep context across sessions, enforce critical rules wit
Kitbash
The package manager and compiler for AI agent skills — write once, run in Claude Code, Cursor, Codex, Copilot,
Easyskillz
Single source of truth for AI agent skills. One folder, all your tools, zero repetition. Write a skill once —
Skillr
Write AI instructions once, sync to every tool. One canonical format (.skillr/) compiles to CLAUDE.md, .cursor
Related Agents
Agentic Auditor
PYA specialist spawned by the /pya orchestrator. Audits AI agent and LLM surfaces in an untrusted repository:
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per
Monk Installer
Install, upgrade, and troubleshoot monk-agent plus Monk CLI/daemon for Claude, Codex, and Cursor users.