MANUAL

Setting up your own coding agent

Setting up your own coding agent

A coding assistant is an AI assistant that reads files, writes code and executes commands on its own, such as Claude Code, OpenAI Codex, Cursor or GitHub Copilot. How well it works depends mainly on what it knows about your project and the limits you set for it.

01

Step 1: an instruction file

Place a file containing fixed instructions in the root directory of your project. Claude Code reads CLAUDE.md, whilst many other agents read AGENTS.md. You can also create one file and reference it in the other.

What to put in it:

# Project: Facturatie-app

02

Stack

Laravel 12, PHP 8.3, MySQL, Pest, Tailwind, Vite.

03

Commando's

04

Regels


Keep it short and to the point. Long blocks of text are less likely to be followed. The **create-agentsmd** command can write a first draft for you.

05

Step 2: Add skills

Skills provide your agent with specialist knowledge for specific tasks (see Installing a skill in your AI assistant). Start with a few that suit your project, for example:

More isn’t always better. Too many overlapping skills make your agent unpredictable.

06

Step 3: Link MCP servers

Using MCP (Model Context Protocol), your agent can communicate securely with other systems: your database, GitHub, documentation, or the knowledge base on this site. You add an MCP server in your agent’s settings. Only connect what is necessary, and preferably with read-only access.

07

Step 4: Rights and boundaries

Decide what the police officer is allowed to do without asking:

Allow Ask first Never
Reading files, running tests, fixing code style Installing packages, running migrations, pushing Production database, rm -rf, git push --force to main, reading secrets

Always work with Git and branches. That way, you can view and undo any changes.

08

Step 5: planning before building

For larger tasks, ask the developer to draw up a plan first and have you approve it. A good specification saves a lot of rework (see From idea to spec).

09

Step 6: a fixed review stage

Before anything goes live:

  1. Tests pass.
  2. You have viewed the changes (diff) in VS Code or on GitHub.
  3. In the event of significant changes, a person is present to oversee the process.

10

Context: why your agent ‘forgets’ things

An agent has a limited context window: the amount of text they can keep track of at any one time, measured in tokens. During long sessions, older information is lost from view. You should therefore start a new session for each task, and store fixed knowledge in your instruction file rather than in the chat.

11

Need help?

With Your own coding agent, I’ll set all this up for you: instructions, skills, MCP integrations and secure permissions. AI code review ensures that whatever your agent builds is ready for production.

12

Skills

13

Related services