# Code Bricks

> Turns a spec into a kit of building blocks (functions, variables, nesting, build order, tests) so you write the code yourself.

Code Bricks is a paid AI agent skill on Agensi by Driss Benkirane. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $4 (one-time purchase)
- Creator: [Driss Benkirane](https://www.agensi.io/creators/driss-benkirane)
- Version: 1.1
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/code-bricks
- Tags: education-learning, code-quality-review

## About this skill

For people who are learning to code and want to use AI to learn, not to skip the learning.

You give a spec. Claude gives you **every brick of the house, but not the house**: the functions with their signatures, the variables, the nesting levels, the data structures, the approach to take, a build order and tests to check yourself. You write the code.

### What you get

1. Understanding of the spec (inputs, outputs, assumptions)
2. Orientation: the approach and why
3. Architecture and data flow
4. The bricks: each function's signature (or each HTML element and its attributes)
5. The key variables, with their count
6. The control structure: nesting levels described in words
7. The build order, with a check after each step
8. Self-check tests
9. Classic traps

Then Claude stays in mentor mode: it reviews your code with questions and gives graduated hints when you are stuck, never the full solution unless you insist.

### Usage

```
/code-bricks <your spec> [--level beginner|intermediate|advanced] [--lang <language>] [--help]
/code-bricks specs/my-project.md --lang javascript
```

By default the kit stays lean so you have to think: function signatures and variable types only. Add `--help` to also see each function's role, edge cases and useful tools, and each variable's scope, role and initial value.

The skill only runs when you type the command. It never turns on by itself.

## Requires

Nothing beyond your AI agent.

## Known limitations

Never writes the assembled solution by design (only on the learner's second explicit request). Only runs when the user types /code-bricks.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Code Bricks skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Code Bricks do?

Turns a spec into a kit of building blocks (functions, variables, nesting, build order, tests) so you write the code yourself.

### Which AI agents support Code Bricks?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Code Bricks?

Connect your AI agent to Agensi through MCP, then ask it to use Code Bricks on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
