claudient 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudient",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "The definitive Claude Code knowledge system — skills, agents, hooks, rules, and workflows.",
5
5
  "skills": [
6
6
  { "id": "backend/python/fastapi", "name": "FastAPI", "file": "skills/backend/python/fastapi.md", "status": "active" },
@@ -9,6 +9,7 @@
9
9
  { "id": "backend/nodejs/nestjs", "name": "NestJS", "file": "skills/backend/nodejs/nestjs.md", "status": "active" },
10
10
  { "id": "backend/go/go", "name": "Go", "file": "skills/backend/go/go.md", "status": "active" },
11
11
  { "id": "backend/dotnet/csharp", "name": "C#/.NET", "file": "skills/backend/dotnet/csharp.md", "status": "active" },
12
+ { "id": "backend/java/spring-boot", "name": "Spring Boot", "file": "skills/backend/java/spring-boot.md", "status": "active" },
12
13
  { "id": "ai-engineering/claude-api", "name": "Claude API", "file": "skills/ai-engineering/claude-api.md", "status": "active" },
13
14
  { "id": "ai-engineering/agent-construction", "name": "Agent Construction", "file": "skills/ai-engineering/agent-construction.md", "status": "active" },
14
15
  { "id": "devops-infra/kubernetes", "name": "Kubernetes", "file": "skills/devops-infra/kubernetes.md", "status": "active" },
@@ -19,7 +20,8 @@
19
20
  { "id": "data-ml/pytorch-tensorflow", "name": "PyTorch & TensorFlow", "file": "skills/data-ml/pytorch-tensorflow.md", "status": "active" },
20
21
  { "id": "data-ml/dbt-data-pipelines", "name": "dbt & Data Pipelines", "file": "skills/data-ml/dbt-data-pipelines.md", "status": "active" },
21
22
  { "id": "database/graphql", "name": "GraphQL", "file": "skills/database/graphql.md", "status": "active" },
22
- { "id": "finance-payments/stripe", "name": "Stripe", "file": "skills/finance-payments/stripe.md", "status": "active" }
23
+ { "id": "finance-payments/stripe", "name": "Stripe", "file": "skills/finance-payments/stripe.md", "status": "active" },
24
+ { "id": "productivity/caveman", "name": "Caveman Mode", "file": "skills/productivity/caveman.md", "status": "active" }
23
25
  ],
24
26
  "agents": [
25
27
  { "id": "core/planner", "name": "Planner", "file": "agents/core/planner.md", "status": "active" },
package/README.md CHANGED
@@ -1,116 +1,181 @@
1
1
  # Claudient
2
2
 
3
- > The definitive knowledge base for Claude Code — skills, agents, hooks, workflows, prompts, and patterns that multiply what you can build.
3
+ > The definitive knowledge system for Claude Code — skills, agents, hooks, rules, workflows, and prompts that multiply what you can build.
4
4
 
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
6
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
7
- [![Languages](https://img.shields.io/badge/languages-EN%20%7C%20FR%20%7C%20DE%20%7C%20NL%20%7C%20ES-blue)](#translations)
8
-
9
- **Claudient** is not a tool. It is a *knowledge system* — a community-maintained collection of everything you can drop into your Claude Code environment to immediately work faster, smarter, and with less friction.
5
+ [![npm](https://img.shields.io/npm/v/claudient)](https://www.npmjs.com/package/claudient)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](LICENSE)
7
+ [![Languages](https://img.shields.io/badge/languages-EN%20%7C%20FR%20%7C%20DE%20%7C%20NL%20%7C%20ES-orange)](#translations)
10
8
 
11
9
  ---
12
10
 
13
- ## Why Claudient?
11
+ ## Install
14
12
 
15
- Claude Code is powerful out of the box. But the gap between "it works" and "it works at 10x" is filled with patterns most developers never discover on their own: the right skill for a task, a hook that enforces quality automatically, an agent that handles an entire domain, a workflow that turns a vague goal into shipped code.
13
+ ```bash
14
+ npx claudient add all
15
+ ```
16
16
 
17
- Claudient collects all of that in one place organized, searchable, and ready to use.
17
+ That's it. All skills are copied to `~/.claude/skills/`. Restart Claude Code and every skill is available as a slash command.
18
18
 
19
- | | Everything-claude-code | **Claudient** |
19
+ ---
20
+
21
+ ## What's included
22
+
23
+ | Type | Count | What it does |
20
24
  |---|---|---|
21
- | C#/.NET coverage | None | Full |
22
- | Kubernetes / Terraform | Sparse | Dedicated skill sets |
23
- | GraphQL / Prisma | None | Full |
24
- | ML / Data Engineering | Limited | dbt, Spark, MLflow, PyTorch |
25
- | Fintech / Payments | None | Stripe, payment flows |
26
- | End-to-end workflows | None | 5 complete workflows |
27
- | Skill authoring guide | None | First-class guide |
28
- | Prompt templates | None | Full library |
29
- | Token optimization | Scattered across 3 docs | Single authoritative guide |
30
- | Languages | 8 (inconsistent) | EN · FR · DE · NL · ES |
25
+ | Skills | 17 | Slash commands for FastAPI, NestJS, Kubernetes, Terraform, Go, C#, Claude API, and more |
26
+ | Agents | 6 | Subagent definitions Planner, Architect, Code Reviewer, Security Reviewer, Build Resolvers |
27
+ | Hooks | 7 | Pre-tool-use safety, post-tool-use formatting and audit logging, lifecycle tracking |
28
+ | Rules | 8 | Coding standards, git hygiene, security, testing, and language-specific guidelines |
29
+ | Workflows | 5 | End-to-end processes for feature dev, debugging, code review, refactoring, and bootstrapping |
30
+ | Guides | 7 | Deep-dive docs in 5 languages (EN / FR / DE / NL / ES) |
31
+ | Prompts | 8 | System prompts, project starters, and task-specific templates |
31
32
 
32
33
  ---
33
34
 
34
- ## What's Inside
35
+ ## CLI Reference
35
36
 
37
+ ```bash
38
+ # Install skills
39
+ npx claudient add skills # all skills (English)
40
+ npx claudient add skills backend # one category
41
+ npx claudient add skills backend --lang fr # French translation
42
+
43
+ # Install other content
44
+ npx claudient add agents # copies to ~/.claude/agents/
45
+ npx claudient add hooks # copies .sh scripts to ~/.claude/hooks/
46
+ npx claudient add rules # shows rules + instructions
47
+ npx claudient add rules --write # appends all rules to ./CLAUDE.md
48
+ npx claudient add all # skills + agents + hooks
49
+ npx claudient add all --lang de # everything in German
50
+
51
+ # Manage
52
+ npx claudient remove skills backend # uninstall a category
53
+ npx claudient remove agents # uninstall agents
54
+ npx claudient update # check for newer version
55
+ npx claudient list # browse all content
56
+ npx claudient list agents # browse one type
36
57
  ```
37
- Claudient/
38
-
39
- ├── guides/ Deep-dive documentation
40
- │ ├── getting-started.md
41
- │ ├── skill-authoring.md
42
- │ ├── token-optimization.md
43
- │ ├── memory-management.md
44
- │ ├── security.md
45
- │ ├── agent-orchestration.md
46
- │ └── hooks-cookbook.md
47
-
48
- ├── skills/ Slash command skill definitions
49
- │ ├── ai-engineering/
50
- │ ├── backend/ python · nodejs · go · rust · java · dotnet · php
51
- │ ├── frontend/ react · vue · mobile
52
- │ ├── data-ml/ pandas · pytorch · mlflow · dbt · spark
53
- │ ├── devops-infra/ kubernetes · terraform · docker · github-actions · cloud
54
- │ ├── database/ postgresql · mongodb · redis · graphql
55
- │ ├── security/ appsec · devsecops · compliance
56
- │ ├── finance-payments/
57
- │ └── content-docs/
58
-
59
- ├── agents/ Specialized subagent definitions
60
- │ ├── core/ planner · architect · reviewer · security
61
- │ ├── build-resolvers/ language-specific error resolvers
62
- │ └── domain/ database · devops · ml specialists
63
-
64
- ├── hooks/ Event-triggered automations
65
- │ ├── pre-tool-use/
66
- │ ├── post-tool-use/
67
- │ └── lifecycle/
68
-
69
- ├── rules/ Always-follow guidelines
70
- │ ├── common/
71
- │ └── language-specific/
72
-
73
- ├── workflows/ End-to-end multi-skill workflows
74
- │ ├── feature-development.md
75
- │ ├── debugging-session.md
76
- │ ├── code-review.md
77
- │ ├── refactor-safely.md
78
- │ └── new-project-bootstrap.md
79
-
80
- ├── prompts/ High-value prompt templates
81
- │ ├── system-prompts/
82
- │ ├── project-starters/
83
- │ └── task-specific/
84
-
85
- ├── mcp/ MCP configs and recommended servers
86
- └── examples/ Complete working project references
58
+
59
+ **Supported languages:** `en` (default) · `fr` · `de` · `nl` · `es`
60
+
61
+ **Skill categories:** `backend` · `devops-infra` · `data-ml` · `database` · `finance-payments` · `ai-engineering`
62
+
63
+ ---
64
+
65
+ ## Skills
66
+
67
+ Each skill is a slash command that activates domain-specific expertise in Claude Code.
68
+
69
+ | Category | Skills |
70
+ |---|---|
71
+ | `backend` | FastAPI, Django, Next.js, NestJS, Go, C#/.NET |
72
+ | `devops-infra` | Kubernetes, Terraform, Docker, GitHub Actions |
73
+ | `data-ml` | Pandas/Polars, PyTorch/TensorFlow, dbt |
74
+ | `database` | GraphQL |
75
+ | `finance-payments` | Stripe |
76
+ | `ai-engineering` | Claude API, Agent Construction |
77
+
78
+ **Example:**
79
+ ```bash
80
+ npx claudient add skills backend
81
+ # Then in Claude Code:
82
+ # /fastapi activate FastAPI patterns
83
+ # /nestjs — activate NestJS patterns
87
84
  ```
88
85
 
89
86
  ---
90
87
 
91
- ## Quick Start
88
+ ## Agents
89
+
90
+ Agents are subagent definitions — spawn them with the `Agent` tool using `subagent_type`.
91
+
92
+ - **Planner** — decomposes tasks into steps before coding begins
93
+ - **Architect** — reviews system design and makes structural decisions
94
+ - **Code Reviewer** — thorough PR review with security and performance focus
95
+ - **Security Reviewer** — dedicated security audit with OWASP coverage
96
+ - **Python Build Resolver** — diagnoses and fixes Python dependency and import errors
97
+ - **TypeScript Build Resolver** — resolves TypeScript compilation failures
98
+
99
+ ---
100
+
101
+ ## Hooks
92
102
 
93
- **No installation required.** Clone the repo and copy what you need into your project.
103
+ Drop-in shell scripts for `PreToolUse`, `PostToolUse`, and lifecycle events.
104
+
105
+ | Hook | Event | What it does |
106
+ |---|---|---|
107
+ | `block-dangerous.sh` | PreToolUse | Blocks destructive commands (`rm -rf /`, fork bombs, etc.) |
108
+ | `git-push-confirm.sh` | PreToolUse | Warns before any `git push`, blocks force push to main |
109
+ | `audit-log.sh` | PostToolUse | Logs every tool call to `.claude/logs/audit.log` |
110
+ | `prettier.sh` | PostToolUse | Auto-runs Prettier after every Write/Edit |
111
+ | `cost-tracker.sh` | PostToolUse | Tracks token usage and estimated cost per session |
112
+ | `pre-compact-save.sh` | PreCompact | Saves session state before context compaction |
113
+ | `session-start.sh` | Notification | Prints branch, uncommitted files, and session notes on start |
94
114
 
95
115
  ```bash
96
- git clone https://github.com/Claudient/Claudient.git
116
+ npx claudient add hooks
117
+ # Scripts are copied to ~/.claude/hooks/
118
+ # See each hook's .md file for the settings.json entry
119
+ ```
120
+
121
+ ---
122
+
123
+ ## Rules
124
+
125
+ Add to your project's `CLAUDE.md` to enforce consistent behaviour:
126
+
127
+ ```bash
128
+ npx claudient add rules --write # appends all rules to ./CLAUDE.md
97
129
  ```
98
130
 
99
- **To use a skill** copy the `.md` file into `.claude/commands/` in your project:
131
+ **Available rules:** Coding Style · Git · Security · Testing · Performance · Python · TypeScript · Go
132
+
133
+ ---
134
+
135
+ ## Workflows
136
+
137
+ Reference documents for complex multi-step tasks — read before starting, not invoked as slash commands.
138
+
139
+ - `feature-development` — idea → scoped → coded → reviewed → merged
140
+ - `debugging-session` — reproduce → isolate → fix → verify
141
+ - `code-review` — structured review with security and performance checks
142
+ - `refactor-safely` — incremental refactoring with test coverage at every step
143
+ - `new-project-bootstrap` — scaffold with the right structure from day one
144
+
145
+ All 5 workflows available in EN / FR / DE / NL / ES.
146
+
147
+ ---
148
+
149
+ ## Manual installation (git clone)
150
+
151
+ If you prefer to manage files yourself:
100
152
 
101
153
  ```bash
102
- cp Claudient/skills/backend/python/fastapi.md your-project/.claude/commands/
154
+ git clone https://github.com/Claudient/Claudient.git
155
+ cd Claudient
156
+
157
+ # Copy a skill manually
158
+ cp skills/backend/python/fastapi.md ~/.claude/skills/
159
+
160
+ # Symlink for development (auto-updates with git pull)
161
+ bash scripts/link-skills.sh
103
162
  ```
104
163
 
105
- Then trigger it in Claude Code with `/fastapi`.
164
+ ---
106
165
 
107
- **To use an agent** — reference it in your Claude session using the `subagent_type` parameter in your Agent tool calls.
166
+ ## Translations
108
167
 
109
- **To use a hook** add the hook JSON to the `hooks` array in your `.claude/settings.json`.
168
+ Every skill, guide, workflow, agent, and prompt is available in:
110
169
 
111
- **To use a rule** — copy the content into your `CLAUDE.md`.
170
+ | Language | Code |
171
+ |---|---|
172
+ | English | `en` (default) |
173
+ | Français | `fr` |
174
+ | Deutsch | `de` |
175
+ | Nederlands | `nl` |
176
+ | Español | `es` |
112
177
 
113
- See [guides/getting-started.md](guides/getting-started.md) for a 5-minute setup walkthrough.
178
+ Hook scripts (`.sh`) are English-only shell is universal.
114
179
 
115
180
  ---
116
181
 
@@ -118,35 +183,19 @@ See [guides/getting-started.md](guides/getting-started.md) for a 5-minute setup
118
183
 
119
184
  | Guide | What it covers |
120
185
  |---|---|
121
- | [Getting Started](guides/getting-started.md) | Setup, first skill, first hook — 5 minutes |
186
+ | [Getting Started](guides/getting-started.md) | Setup, first skill, first hook |
122
187
  | [Skill Authoring](guides/skill-authoring.md) | How to write a skill that actually works |
123
188
  | [Token Optimization](guides/token-optimization.md) | Model selection, context math, cost reduction |
124
189
  | [Memory Management](guides/memory-management.md) | Session persistence, compaction strategies |
125
190
  | [Security](guides/security.md) | Isolation, approval boundaries, sanitization |
126
- | [Agent Orchestration](guides/agent-orchestration.md) | Sub-agent patterns, parallelization |
191
+ | [Agent Orchestration](guides/agent-orchestration.md) | Subagent patterns, parallelization |
127
192
  | [Hooks Cookbook](guides/hooks-cookbook.md) | Hook patterns with real examples |
128
193
 
129
194
  ---
130
195
 
131
- ## Translations
132
-
133
- All guides and documentation are available in:
134
-
135
- - [English](guides/) (primary)
136
- - [Français](guides/fr/)
137
- - [Deutsch](guides/de/)
138
- - [Nederlands](guides/nl/)
139
- - [Español](guides/es/)
140
-
141
- Skills, agents, and hooks remain in English — they are code-adjacent and translation adds noise without value.
142
-
143
- ---
144
-
145
196
  ## Contributing
146
197
 
147
- Claudient grows through community contributions. Every skill, agent, hook, and workflow in this repo was written by someone who solved a real problem.
148
-
149
- See [CONTRIBUTING.md](CONTRIBUTING.md) for how to add your own — including the skill template, quality checklist, and review process.
198
+ See [CONTRIBUTING.md](CONTRIBUTING.md) includes the skill template, quality checklist, and review process.
150
199
 
151
200
  ---
152
201
 
@@ -154,12 +203,10 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for how to add your own — including the
154
203
 
155
204
  Claudient is backed by [Uitbreiden](https://uitbreiden.com/) — we build AI products with developer communities and deliver B2B AI solutions.
156
205
 
157
- If you're a developer, startup, or enterprise team looking to build with Claude Code at scale, integrate AI into your product, or need a technical partner who lives and breathes this stack — come talk to us.
158
-
159
206
  **[uitbreiden.com](https://uitbreiden.com/)**
160
207
 
161
208
  ---
162
209
 
163
210
  ## License
164
211
 
165
- MIT — use freely, attribution appreciated.
212
+ MIT
@@ -221,6 +221,7 @@ Subagents communicate back to the parent in two ways:
221
221
  | Task works better with setup | Soft dependency — degrade gracefully |
222
222
  | Large subagent output | Write to file, parent reads it |
223
223
  | Small structured result | Return message |
224
+ | High token cost on simple tasks | Use cavecrew (Haiku + caveman) |
224
225
 
225
226
  ---
226
227
 
@@ -148,6 +148,41 @@ See `hooks/lifecycle/cost-tracker.sh` for a ready-to-use implementation.
148
148
 
149
149
  ---
150
150
 
151
+ ## 5. Caveman Mode — Output Compression
152
+
153
+ Caveman mode is a token-compression technique that instructs Claude to respond in terse, fragment-style prose. Benchmarked results (March 2026, [arxiv.org/abs/2604.00025](https://arxiv.org/abs/2604.00025)):
154
+
155
+ - ~65% reduction in output tokens
156
+ - 26-point accuracy improvement on benchmarks — brevity sharpens reasoning
157
+ - 100% technical accuracy maintained
158
+
159
+ **Compression levels:**
160
+
161
+ | Level | Rule |
162
+ |-------|------|
163
+ | `lite` | Drop filler and hedging, keep full sentences |
164
+ | `full` | Drop articles, fragments OK, short synonyms |
165
+ | `ultra` | Abbreviate prose, strip conjunctions, arrows for causality |
166
+
167
+ **Activating in a session:**
168
+ ```
169
+ Use caveman mode (full level). Drop articles, use fragments, short synonyms.
170
+ Auto-revert to normal prose for: security warnings, irreversible confirmations,
171
+ multi-step sequences where fragment ambiguity risks misread.
172
+ ```
173
+
174
+ **caveman-compress** — rewrites `.md` memory and CLAUDE.md files to caveman prose. Because these files are re-read on every context load, compressed files save ~46% input tokens *every session*.
175
+
176
+ ```
177
+ /caveman-compress .claude/memory/project-context.md
178
+ ```
179
+
180
+ **Reference:** The full implementation is at [github.com/JuliusBrussee/caveman](https://github.com/JuliusBrussee/caveman). Claudient also includes `skills/productivity/caveman.md` as a concise usage reference.
181
+
182
+ **When NOT to use:** Security warnings, irreversible action confirmations, onboarding docs, external-facing documentation.
183
+
184
+ ---
185
+
151
186
  ## Quick Reference
152
187
 
153
188
  | Situation | Action |
@@ -159,6 +194,8 @@ See `hooks/lifecycle/cost-tracker.sh` for a ready-to-use implementation.
159
194
  | Task is self-contained | Use a subagent |
160
195
  | Vague request producing long responses | Rewrite as a specific, scoped prompt |
161
196
  | CLAUDE.md over 500 lines | Audit and trim dead rules |
197
+ | Very long session, verbosity is slowing you | Enable caveman mode (full level) |
198
+ | Memory files growing large | Run caveman-compress on them |
162
199
 
163
200
  ---
164
201