Skip to content
Marko Ivanovski

writing2026-11-02

My Claude Code setup in 2026

10 min readAI, Claude Code, Tooling

The Claude Code setup I use every day on Windows and a Pro plan: two CLAUDE.md files, a short list of MCP servers, skills, hooks, and Obsidian as memory.

A diagram of the setup in five layers, from left to right: instructions, skills, MCP servers, hooks and memory

Most guides to a Claude Code setup stop at the install. That part takes two minutes and the official quickstart covers it well. What it can't tell you is what the setup looks like after a few months of real work, once you've added things, removed most of them again, and kept only what earns its place.

This is mine, as of November 2026. I use it on Windows 11 for web development, data work and the occasional client project, on a Pro plan where tokens are the budget. It's also the setup that built and reviews this site, so you can see its output in how I built this site.

The short version

  • Two CLAUDE.md files. A global one with how I want to work, and one per project with what that project has decided.
  • Skills for process. A plugin that makes every feature go through brainstorm, plan, build and review, plus a few skills of my own.
  • MCP servers for reach. Docs, the browser, Jira and Confluence, the database, deploys and search. Each one has a job I can name.
  • Hooks for the rules I kept breaking. Things that should happen every time, whether I remember them or not.
  • Obsidian for memory. One vault per project, searched by a local index, so a new session starts with the history instead of a blank page.

CLAUDE.md: the file that changed the output most

If you only change one thing, change this. Claude reads CLAUDE.md at the start of every session, so anything in it applies to every answer. Mine is 150 lines, and most of it is about behaviour rather than code.

The global file lives in ~/.claude/CLAUDE.md and covers what's true everywhere. A few of the rules that made the biggest difference:

~/.claude/CLAUDE.md
- Answer first. No preamble, no restating the question, no recap of what a diff
  or tool output already shows.
- Verify facts about code, libraries and APIs with a tool, not memory.
- Finish the whole task. If part is blocked, finish the rest and say once
  what's left.
- Keep solutions minimal. Name adjacent work instead of doing it.
- Commit or push only when asked.

The second rule matters more than it looks. Frameworks move faster than any model's training data, and this site runs on Next.js 16. The project file tells Claude to read the docs that ship inside node_modules/next/ before writing code, instead of trusting what it remembers.

Each project then has its own CLAUDE.md in the repository. This site's file holds the settled decisions, like "no analytics of any kind" or "a blog post is real writing, never a placeholder", so they don't get re-argued every session. It also holds the traps, the things that cost me an afternoon once and aren't visible in the code. Path-scoped rule files in .claude/rules/ load only when Claude opens matching files, which keeps the main file short.

The global file also has a routing table: for this kind of task, use that skill or that server. It's the cheapest way I've found to get the right tool used without asking for it every time.

Skills and plugins: process, not features

Skills are instructions Claude loads when a task matches them. The ones that matter most to me are about process.

  • Superpowers is the default workflow. New features go through brainstorming and a written plan before any code. Bugs go through systematic debugging before any fix. Work ends with verification and a code review. I scale it down for one-line changes, but for anything bigger it's the difference between a feature and a pile of edits.
  • Impeccable and Taste Skill split the design work between them. Taste Skill is for a new public-facing page built from nothing, like a landing page or a portfolio, where the first draft needs a point of view. Impeccable covers everything after that: critique, polish, accessibility, motion and design systems. It also checks every frontend edit as it happens. My CLAUDE.md has one rule for the pair: never run both on the same task, because they pull in different directions.
  • Claude SEO, installed only in this repository, audits a page for its title, headings, links, images and structured data. New posts on this site go through it before they're published, this one included.
  • Claude Obsidian connects Claude to my Obsidian vaults. It ingests sources, answers questions from the notes, saves the outcome of a session and checks the vault for broken links. It's one of the most important parts of the setup, and the memory section below covers it.

I've also written a few skills of my own. One sets the rules for writing in Macedonian, my first language, so the output is real Macedonian and not Bulgarian or Serbian with Macedonian spelling. Another is a security checklist based on the OWASP Top 10, which loads whenever code touches auth, user input or an API.

MCP servers: the ones I kept

MCP servers give Claude tools beyond the file system. It's tempting to install every one you hear about. Don't. Each server adds its tool list to the context, and a tool Claude never needs still costs tokens and attention. I keep a short list and block the rest by name in settings.json with deniedMcpServers.

These are the ones I kept:

NeedServer
Library and framework docsContext7
Testing a change in a real browserPlaywright, plus Chrome DevTools for performance traces
Tickets and specificationsAtlassian (Jira and Confluence)
Deploys and build logsVercel
The databaseNeon
Web search and researchExa
Keyword and search dataOpenRush
Diagramsdraw.io

GitHub is the odd one out. I use the gh command line tool instead of a server, because Claude already knows it well and it costs nothing until it runs.

Two habits made servers more useful. First, the routing table in CLAUDE.md says which server to use for what, so Claude reaches for Context7 before guessing an API. Second, I give each one a job I can check. Playwright doesn't just "test the page". It opens the built site, reads the accessibility tree and reports what a screen reader would hear.

Hooks: for the rules I kept breaking

A hook is a command that runs on an event, like the start of a session or before a tool call. Instructions in CLAUDE.md are followed most of the time. Hooks are followed every time, so I use them for the few things that must never be skipped.

  • A security plugin checks edits and diffs for common mistakes as they happen.
  • context-mode routes large outputs into a sandbox before they reach the conversation.
  • A startup script that context-mode installs repairs the plugin's cache after Claude Code updates itself, because an update can leave it pointing at a folder that no longer exists.

The plugin hookify turns a correction into a rule. When I find myself correcting the same thing again, that's the signal to make it a hook instead of another reminder.

Obsidian as long-term memory

A Claude Code session starts with no memory of the last one. CLAUDE.md fixes part of that, but it should stay short, and a project's history is long.

So every project has an Obsidian vault next to it: what was decided and when, what was tried and failed, and a running log of sessions. A local search tool, qmd, indexes all the vaults, and Claude queries it through its MCP server before it asks me something I've already answered. At the end of a piece of work, Claude Obsidian's save skill writes what happened back into the vault as a session page and a log entry. The rule is that raw sources are never edited, only the wiki pages built from them.

A diagram of one session: Claude reads CLAUDE.md, searches the vault, does the work with skills and MCP servers, and writes a summary back to the vault
Figure 1 · How a session starts from the vault and writes back to it.

This is also where the facts on this site come from. Every claim about my work traces to a vault page, a public repository or a report, and the project's CLAUDE.md says so.

Running it on a Pro plan

A Pro plan has limits, and a careless setup reaches them by lunch. What stretched mine furthest:

  • Keep big output out of the conversation. A test run or a build log can be thousands of lines. context-mode runs it in a sandbox and returns only the part I asked about.
  • Read only the lines you need. Search for the code first, then read that part, instead of whole files.
  • Medium effort by default. I switch to a faster model for long, mechanical work like bulk edits, and keep the stronger one for design and review.
  • Subagents only for large, independent work. Each one starts from scratch and rebuilds the context you already have. For a task I could finish in a few tool calls, they cost more than they save.
  • Fewer MCP servers. Every tool definition is paid for in every session.

How to set up Claude Code like this, step by step

You don't need all of this on day one. The order below is the order I'd add things in again, and each step is worth a few days of real use before the next.

1. Install Claude Code and start a session

On Windows, open PowerShell and run the native installer. It updates itself in the background:

irm https://claude.ai/install.ps1 | iex

On macOS, Linux or WSL, use curl -fsSL https://claude.ai/install.sh | bash instead. WinGet works too (winget install Anthropic.ClaudeCode), but it doesn't update itself. On Windows, also install Git for Windows, so Claude can use a Bash shell and not only PowerShell. The setup guide has every other option.

Then open a terminal in a project folder, run claude and sign in with your Pro or Max plan. Use it for a few days with nothing added, and write down every time you correct it. That list becomes your first CLAUDE.md.

2. Write a global CLAUDE.md

Create ~/.claude/CLAUDE.md. It applies to every project, so it holds how you work, not what a project does. Mine has grown to ten sections, but this skeleton of the core ones is a good place to start:

~/.claude/CLAUDE.md
# Global instructions
 
## Context
 
- Who you are, your stack, your OS and shell, where your code lives.
 
## Responses
 
- Answer first. No preamble, no recap of what a tool already showed.
 
## Working
 
- Verify facts about code and libraries with a tool, not memory.
- Finish the whole task. Ask only when readings lead to different work.
- Commit or push only when asked.
 
## Code
 
- Your language rules, test priorities, and what comments are for.
 
## Workflow skills
 
| Situation   | Skill                            |
| ----------- | -------------------------------- |
| New feature | superpowers:brainstorming        |
| Bug         | superpowers:systematic-debugging |
| Any UI      | impeccable                       |

Keep every line something you'd otherwise have to repeat. If a rule is only true in one repository, it belongs in that repository's file instead.

3. Give each project its own CLAUDE.md

In a project, run /init. Claude reads the codebase and writes a starting CLAUDE.md with the build and test commands it found. Then add what it can't find by reading code:

  • Decisions. What was decided and why, so it isn't argued again.
  • Traps. Things that cost you time once and aren't visible in the code.
  • What's off-limits. The ideas you've rejected, and the files that must never be committed.

When the file grows past what you'd read in one go, move topic rules into .claude/rules/. A rule file with a paths: list in its frontmatter loads only when Claude opens a matching file, so the main file stays short.

4. Add the plugins

Plugins bundle skills, hooks and agents, and they install from inside a session. Superpowers is in Anthropic's official marketplace, which Claude Code adds for you. The others need their marketplace added first:

/plugin install superpowers@claude-plugins-official
 
/plugin marketplace add pbakaus/impeccable
/plugin install impeccable@impeccable
 
/plugin marketplace add Leonxlnx/taste-skill
/plugin install taste-skill@taste-skill
 
/plugin marketplace add AgriciDaniel/claude-seo
/plugin install claude-seo@agricidaniel-claude-seo
 
/plugin marketplace add AgriciDaniel/claude-obsidian
/plugin install claude-obsidian@claude-obsidian-marketplace

Add them one at a time and use each for a while. A plugin you don't understand is a plugin you can't tell is misbehaving. The plugin docs explain scopes, if you want one only in a single project the way I keep Claude SEO.

5. Connect a few MCP servers

Start with the thing you look up most. For most developers that's documentation. A remote server takes one command:

claude mcp add --transport http <name> <url>

A local one runs as a command, with everything after -- passed to it:

claude mcp add --transport stdio playwright -- npx -y @playwright/mcp@latest

Servers are added for the current project unless you pass --scope user. Run /mcp to check that each one connects, and /context to see how much of the context window their tools take. If a server never earns that space, remove it. The MCP docs cover authentication and the JSON config.

6. Set up memory with Obsidian

Make one Obsidian vault per project, or one vault with a folder per project. Then index it with qmd and connect it to Claude:

npm install -g @tobilu/qmd
qmd collection add ~/Obsidian --name obsidian
qmd embed
claude mcp add --scope user --transport stdio qmd -- qmd mcp

Run qmd update and qmd embed after you change notes, so search stays current. With Claude Obsidian installed, ask Claude to save a session or ingest a source, and it writes the pages for you. Add one line to your global CLAUDE.md telling Claude to search the vault before it asks you something.

7. Write your own skills

When you explain the same procedure twice, make it a skill. A skill is a folder with a SKILL.md inside, in ~/.claude/skills/ for every project or .claude/skills/ for one:

~/.claude/skills/commit-message/SKILL.md
---
name: commit-message
description: Writes commit messages in this format. Use whenever the user asks to commit, or to write or fix a commit message.
---
 
# Commit messages
 
- Use Conventional Commits: `type(scope): summary`, in the imperative.
- Keep the header under 72 characters.
- The body explains why the change was made, not what the diff shows.
- End with `Refs: <ticket key>` when there is a ticket.

The description is what Claude reads to decide when to load it, so write it as "use when", not as a title. The skills docs cover the rest.

8. Turn repeated corrections into hooks

When a correction keeps coming back, stop repeating it and make it a hook. The easiest way is hookify, from the official marketplace, which writes the rule from the conversation. You can also add one by hand in ~/.claude/settings.json. This one, from the official guide, runs Prettier on every file Claude edits. It needs jq installed:

~/.claude/settings.json
{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "jq -r '.tool_input.file_path' | xargs npx prettier --write"
          }
        ]
      }
    ]
  }
}

Run /hooks to confirm it's registered. The hooks guide has more examples.

9. Keep it lean

Every month or so, run /context and look at what takes space. Remove servers you didn't use, merge CLAUDE.md rules that say the same thing, and update your list of tools. A setup only helps while you still know what's in it.

What actually makes the difference

If I had to keep only three parts of this setup, I'd keep the global CLAUDE.md, a workflow plugin, and the vault. None of them is about making Claude write more code. The first tells it how I want to work, the second makes it plan and check before it builds, and the third means it starts each session knowing what happened in the last one.

Everything else is reach: more tools, more checks, more places it can look. Reach is useful, but it only pays off once the basics are in place. A long list of MCP servers on top of an empty CLAUDE.md gives you an agent that can do a lot and doesn't know what you want.

So start small. Install it, use it, notice what you keep correcting, and write that down. Most of what's in this post started as a correction I got tired of repeating.

The setup will keep changing, and I'll update this post when it does. If you want to see what it builds, how I built this site is the longest example so far. And if you run something different, I'd like to hear what's in it. You can find me through the contact page.