Deployment & Usage

Install the agents and skills on your machine, check them, and wire one repository. Nothing installs by itself: every installer previews with DRY_RUN=1 and never commits. Every plugin, endpoint and script is listed on Deployment & Usage Reference.

  1. YouClone

    The toolkit repository

  2. YouPreview

    The installer prints each change

    NOTHING WRITTEN
  3. InstallerInstall

    Copies files, registers servers

  4. InstallerVerify

    One line per item, a fix offer for each gap

  5. YouWire a repository

    One command per repository

Install on your machine

Run five steps once per machine. Use the switch at the top to show only your system.

What you need first

  • claude command

    The Claude Code CLI. Without it, the installer skips the server and plugin setup. On Windows, follow Install Claude Code (Windows).
  • rsync

    It copies skills, agents and rules on macOS and Linux.
  • robocopy

    It copies skills, agents and rules. Windows includes it, so install.ps1 needs nothing extra.
  • git

    Step 2 clones the toolkit with it.
  • Python 3.10 or newer

    It runs the dispatch economy step and its hooks. The installer checks it first, before it copies anything. If Python is missing, is only a stub, or is older than 3.10, the installer prints the install command for your system and stops. SKIP_PYTHON_CHECK=1 installs anyway, without the hooks.
  • Node.js and npm

    npx runs the memory server and the registry skills. npm installs agent-browser. The ponytail hooks need Node.js.

What only one part needs

  • Network or VPN

    Access to ai.friendly-tech.com. The three internal servers need it.
  • Homebrew and Java 21

    The optional Java language server jdtls needs both on macOS and Linux.
  • Scoop and Java 21

    The optional Java language server jdtls needs both on Windows.
  • GitHub CLI gh, signed in

    The optional clone of the Knowledge Vault and its unattended push need it, with git.
  • uvx

    Only the alternative server mcp-obsidian needs it.

The five steps

  1. 1

    Install the Claude Code CLI

    The installer expects claude on your PATH. On Windows, follow Install Claude Code (Windows).

    You
  2. 2

    Clone the repository

    Open a terminal in its root. The commands are the same on every system.

    You
    macOS, Linux, Windows
    git clone https://github.com/Friendly-Technologies/ft-ai-toolkit.git cd ft-ai-toolkit
  3. 3

    Preview the install

    The preview writes nothing. It prints many MISSING lines because nothing is installed yet, and this is expected.

    You
    macOS, Linux
    DRY_RUN=1 deploy/scripts/install.sh
    Windows
    $env:DRY_RUN=1; .\deploy\scripts\install.ps1

    The end of a preview, on an empty home folder

    macOS, Linux
    ── MCP servers (user scope) ── [dry-run] claude mcp add --transport sse --scope user qdrant-vector-db http://ai.friendly-tech.com:8095/sse [dry-run] claude mcp add --transport http --scope user jira-mcp http://ai.friendly-tech.com:7010/mcp [dry-run] claude mcp add --transport http --scope user context7 https://mcp.context7.com/mcp [dry-run] claude mcp add --scope user memory -- npx -y @modelcontextprotocol/server-memory verify: 4 ok, 63 missing, 0 warning(s). (DRY_RUN=1 — nothing was written, so AFTER matches BEFORE; re-run without DRY_RUN to apply.)
    Real outputFrom install.sh with an empty scratch home folder and no terminal. The other lines are cut. Your counts differ.
  4. 4

    Run the install

    Answer y or n to each offer. If FT_VAULT_PATH is not set, the installer also asks "set the vault path now?". It saves your answer in ~/.claude/settings.json and can clone the vault repository. The rest is in Knowledge Vault.

    You
    macOS, Linux
    deploy/scripts/install.sh
    Windows
    Remove-Item Env:\DRY_RUN .\deploy\scripts\install.ps1
  5. 5

    Verify

    This installs nothing. It prints one line per item, passed or MISSING, and offers a fix for each missing one. Every plain install ends with the same pass.

    You
    macOS, Linux
    deploy/scripts/install.sh --doctor
    Windows
    .\deploy\scripts\install.ps1 -Doctor

    Then, in a Claude Code session started after the install (agent definitions load at session start, so an open session may not list a changed agent), run /skills, /agents and claude mcp list (or /mcp) to see the installed assets.

Three optional steps after the first install

An artifact is a page that you publish from Claude. On Windows, the same scripts are in $HOME\.claude\hooks.

  1. 1

    Record your older artifacts

    Run this once, in the background. It records the artifacts that you published before the hook existed and takes 1 to 2 minutes. It reads the structured tool result of each publish in the transcripts. Add --root DIR to read another transcript directory.

    You
    macOS, Linux
    python3 ~/.claude/hooks/artifact-registry.py backfill
  2. 2

    Create the secrets file, if you use vault-note.py

    Create ~/.config/ft-ai-toolkit/vault-secret-values with mode 0600 and one secret per line. Without it, the secret scan checks key shapes only. See Agent Harness, vault-note.py.

    You
  3. 3

    Confirm that the hook works

    Publish one artifact, then list the records. The new line confirms that the hook reads the real tool response. No live payload was captured before this check.

    You
    macOS, Linux
    python3 ~/.claude/hooks/artifact-registry.py list

What lands where

The installer fills folders under ~/.claude ($HOME\.claude on Windows), edits two files that you may already have, and registers five servers.

skills/30acs-fresh-resetautoreviewclickhouse-iocwmp-xmlfriendly-branded-docsft-angular-standardsft-decideft-devft-docker-standardsft-docsft-fixft-guide-pageft-image-rollout-verificationft-java-standardsft-jiraft-python-standardsft-refactorft-ux-auditft-watchgrafana-dashboard-snapshotiot-fleet-engineerobsidian-knowledge-vaultoma-lwm2m-expertperformance-engineerreceiving-code-reviewsdd-authoringspringboot-tddspringboot-verificationtr069-walk-benchmarktr69hostif-issue-triage
agents/16bugfix-agentft-angular-coding-agentft-architecture-auditft-coding-agentft-developerft-doc-writer-agentft-fix-hostft-java-coding-agentft-opsft-python-coding-agentft-sddft-test-adversaryft-ui-ux-designrefactor-agenttr-doc-writerverifier
rules/9agentsbugfixcode-qualitydbdeploydepsfeaturesecurityux
ft-sdd/8word-pages.pyhtml-page.pyshape-check.pyoverview.mdpre-show.mdintake.mdqa-chapters.mdsource-tags.md
hooks/, always6diff-router.pyroute-schema.jsonevidence-store.pyevidence-schema.jsongit-safety-check.shversion-gate.py
hooks/, economy18price-gate.pydecide.pyturn-guard.pyunit-check.pycheckout-guard.pyheredoc-guard.pyencoded-exec-guard.pydocker-workload-guard.pymain-compact.pymain-rules.pylane-nudge.pyartifact-registry.pylane-status.pyvault-note.pysession-audit.pyownership-check.pyjanitor.pyrefresh-gate.py
Top level, economy3main-rules.mdsettings.jsonCLAUDE.md
Your Claude config4qdrant-vector-dbjira-mcpcontext7memory

name the installer copies itname the installer edits your filename a server, through claude mcp add

A hook is a script that Claude Code runs on an event. The economy rows come from the dispatch economy step of the installer, and SKIP_ECONOMY=1 leaves them out.

What happens to files you already have

  • A folder with the same name is mirrored

    A skill or rules folder from the toolkit replaces yours, and extra files in it go. Your other skills stay.
  • settings.json keeps your values

    The step adds twelve hooks in fifteen entries, one allow rule, or two when the interpreter is not python3, and three missing values. A value that you set stays. See the full list.
  • CLAUDE.md changes between markers only

    If you wrote inside the markers, the installer saves a .bak- copy, prints a warning and replaces the block.
  • Old toolkit names go

    The step removes only the assets that the toolkit installed under -next names. It offers to disable claude-mem where that plugin is enabled.

What verification offers, one y at a time

Plugins4superpowersjdtls-lspimpeccableponytail
Registry skills14emil-design-enganimatereview-animationsimprove-animationsfind-animation-opportunitiesanimation-vocabularyapple-designpick-ui-librarydesign-taste-frontendtechnical-writingwriting-design-docsdocumentation-writerdoc-coauthoringdesign-doc-mermaid
Tools3agent-browserjdtlscodebase-memory-mcp

name a third party, so inspect it first

Registry skills come from the public skills registry. On a terminal, each offer waits for your answer. ASSUME_YES=1 accepts them. With neither, the installer declines and prints a later: line with the command. The commands and the reasons are on the reference page.

Wire one repository

One opt-in script adds a standard pointer, a component map and a CI workflow to a Java or Angular repository. It never commits.

  1. 1. Detect the stack

    It searches for the build files, in any folder.
    • JAVApom.xml or a Gradle file
    • ANGULARangular.json
    • BOTHBoth pointers
    • NEITHERError, exit 1. Python and Docker repositories stop here.
  2. 2. Choose the file

    The first match wins.
    • FIRSTAn existing CLAUDE.md
    • THENAn existing AGENTS.md
    • ELSEA new CLAUDE.md
  3. 3. Write the pointer

    A managed block goes between FT-AI-TOOLKIT:START and END markers. It names ft-java-standards, ft-angular-standards or both, with a quick reference of the non-negotiable rules.
  4. 4. Add the map and the gate

    It generates the skeleton COMPONENT-MAP.md, seeds COMPONENT-MAP.semantic.md and copies component-map.yml.

Wire it in one command

Replace ../ftacs with the path of your repository.

  1. 1

    Preview

    The bash preview prints the file list and a diff of the block. The PowerShell preview prints the file list.

    You
    macOS, Linux
    DRY_RUN=1 deploy/scripts/wire-repo.sh ../ftacs
    Windows
    $env:DRY_RUN=1; .\deploy\scripts\wire-repo.ps1 ..\ftacs

    The file list of a preview

    macOS, Linux
    1) standard pointer -> CLAUDE.md [dry-run] would write managed block; diff preview: 2) component map [dry-run] gen-component-map.sh -> COMPONENT-MAP.md [dry-run] seed COMPONENT-MAP.semantic.md from template 3) CI workflows [dry-run] mkdir -p .github/workflows [dry-run] install .github/workflows/component-map.yml Done (dry-run — nothing written). Review the changes, then commit them IN THE TARGET REPO.
    Real outputFrom a scratch Java repository. The header and the diff lines are cut.
  2. 2

    Apply

    The script changes files in that repository and commits nothing.

    You
    macOS, Linux
    deploy/scripts/wire-repo.sh ../ftacs
    Windows
    Remove-Item Env:\DRY_RUN .\deploy\scripts\wire-repo.ps1 ..\ftacs
  3. 3

    Fill the semantic file

    Add one ### <module> section for each module in the skeleton. Have ft-architecture-audit or ft-doc-writer-agent write them. The second gate fails until every module has its section.

    You
  4. 4

    Set the toolkit source in the workflow

    Set the real repository and a ref in these lines. The copied name is a sample: the clone URL in step 2 of the install uses Friendly-Technologies. Add the secret FT_AI_TOOLKIT_TOKEN if the toolkit repository is private.

    You
    .github/workflows/component-map.yml
    repository: FriendlyTechnologies/ft-ai-toolkit # adjust to the real org/repo ref: main # pin to a tag for stability path: .ft-ai-toolkit token: ${{ secrets.FT_AI_TOOLKIT_TOKEN }} # PAT if the toolkit repo is private
  5. 5

    Review and commit in that repository

    The repository owner reviews the changes. Run the script again after every standard change: it removes the old block and adds a new one at the end of the file.

    You

CI gates

Two gates run on a pull request that touches a watched path, and either one can fail the run.

  1. 1. A pull request starts it

    The workflow watches Java, TypeScript, Maven, Gradle settings and SQL files, db/ folders and COMPONENT-MAP.md. You can also start it by hand.
  2. 2. component-map-gate.sh

    It regenerates the skeleton and compares the result with Git.
    • FAILThe file is not committed
    • FAILThe file differs from the new result
    • PASSThe file is up to date
  3. 3. semantic-coverage.sh

    It compares the skeleton modules with the semantic file.
    • FAILA file is missing
    • FAILA module has no ### <module> section
    • PASSEvery module has a section, or the repository has no modules

What a failure looks like, and the fix

FailedThe map is stale or not committed

  • The log prints COMPONENT-MAP.md is stale and the diff, or COMPONENT-MAP.md is not committed.
  • Run deploy/scripts/gen-component-map.sh . in the repository, then commit the file.

FailedA module has no section

  • The log prints semantic layer missing a section for module: svc. The name must match exactly.
  • Have an agent add ### svc to COMPONENT-MAP.semantic.md, then commit the file.
bash
bash <toolkit>/deploy/ci/semantic-coverage.sh . ::error:: semantic layer missing a section for module: svc (add '### svc' to COMPONENT-MAP.semantic.md) ::error:: COMPONENT-MAP.semantic.md is incomplete — have an agent document the new module(s).
Real outputFrom a scratch Java repository, right after wire-repo.sh wired it. The path of the toolkit is <toolkit> here.

Component map: two layers

QuestionCOMPONENT-MAP.mdCOMPONENT-MAP.semantic.md
What it holdsModules, Spring beans, JPA entities, DB tables, legacy MDC keys (should be empty), Angular counts.The responsibility, boundaries, key flows and standard deviations of each module.
Who writes itThe script gen-component-map.sh. The output is deterministic.An agent. The seed comes from deploy/templates/.
What CI checksContent. Any drift fails.Coverage. A missing section fails. The prose is not checked, because AI output is not reproducible.
When you update itBefore each commit, like generated code.When a module is added or its responsibility changes.

Add the gates by hand, instead of the copied workflow

.github/workflows/component-map.yml
- run: bash <toolkit>/deploy/ci/component-map-gate.sh . # skeleton drift - run: bash <toolkit>/deploy/ci/semantic-coverage.sh . # semantic coverage

Commit a COMPONENT-MAP.md once, per repository. The first gate fails without it.

What the generator skips, and where it runs

The generator skips vendored, build and tool directories: node_modules, target, build, dist, .git, .gradle, out, .idea, .antora-cache, .next, coverage, bin, .mvn and generated.

It works on BSD (macOS) and GNU (Linux CI). It was validated on ft-bs-client, ftacs, ft-device-network-service, oneiot-ui and angular-ui.

Onboarding channels, and the Qdrant sketch

ChannelHow it is wired
Component mapwire-repo.sh installs the CI gate, so the skeleton stays fresh.
CLAUDE.md or AGENTS.mdwire-repo.sh writes the managed standard pointer block.
Qdrant ft_codeNot wired. deploy/ci/ft-code-reindex.yml is an unwired sketch and does not index. Copy it by hand and replace its Reindex step with the real indexer.

Model Context Protocol (MCP) servers

The installer registers four servers for you, offers one and leaves two to you. Each mark names what you must have.

ServerVPNNode.jsLocal binaryYour own keyuvx
The installer registers these
qdrant-vector-db

The knowledge base. SSE, http://ai.friendly-tech.com:8095/sse.

needs VPN
jira-mcp

Jira issues. HTTP (streamable), http://ai.friendly-tech.com:7010/mcp.

needs VPN
context7

Public library documentation. HTTP, https://mcp.context7.com/mcp. It needs no VPN.

memory

A local knowledge graph. npx -y @modelcontextprotocol/server-memory, stdio, no Docker. A Docker MCP gateway (MCP_DOCKER) that exposes it also counts.

needs Node.js
Verification offers this one
codebase-memory-mcp

The local code graph. Verification offers its third-party installer, the registration and auto-index. The command is on the reference page.

needs a local binary
Register one of these by hand
obsidian

The Knowledge Vault, through the Obsidian Local REST API plugin. Verification prints the command, and it uses your plugin key.

needs your key
mcp-obsidian

The alternative route to the same vault, through uvx mcp-obsidian. Verification prints this command too.

needs your keyneeds uvx

dot You need this for the server. VPN means network or VPN access to ai.friendly-tech.com.Your own key is the key of the Obsidian Local REST API plugin. Open a name to see what the server is and its endpoint.

Inspect the third-party installer first

The codebase-memory-mcp installer comes from GitHub. On Windows, use the install.ps1 from that upstream repository, not the toolkit one.

Limits of the server setup

Skip the four registrations with SKIP_MCP=1. Running the installer again is safe: it removes each server, then adds it.

SSE is deprecated in Claude Code v2.1 and later. qdrant-vector-db moves when its server exposes /mcp.

sequential-thinking is not installed. It stays an optional manifest row. Details of every server are on the reference page. What each server is for is in Claude Toolkit Reference.

Check, update or skip

--doctor tells you what is missing, and one more installer run updates the toolkit files.

macOS, Linux
deploy/scripts/install.sh --doctor ── Verify: MCP servers ── ── Verify: language servers (Java LSP) ── ── Verify: knowledge vault (Obsidian) ── ── Verify: ponytail (minimalism plugin) ── ── Verify: Claude Code plugins (workflow layer) ── ── Verify: dispatch economy (SKIP_ECONOMY=1 to leave it out) ── verify: 38 ok, 23 missing, 0 warning(s).
Real outputFrom a scratch home folder after an install with skip switches. Only the section lines and the count stay, and the first section line is cut. The exit code was 0 with items missing, so read the count.
Windows
.\deploy\scripts\install.ps1 -Doctor
Update the toolkit → git pull

Then run the installer again. It mirrors the folders, replaces the marked block and adds the servers again.

Update a registry skill → npx -y skills add

Run the install command of that skill again, for example npx -y skills add emilkowalski/skill --skill emil-design-eng -g -a claude-code -y. Verification prints the command, and the reference page explains it.

A standard changed → wire-repo

Run wire-repo again in each wired repository. It leaves COMPONENT-MAP.semantic.md as it is.

A module changed → gen-component-map

Run deploy/scripts/gen-component-map.sh . before you commit. Then have an agent update the semantic file.

Install with no prompts → ASSUME_YES=1

It accepts every offer. A third-party marketplace also needs ALLOW_THIRD_PARTY_MARKETPLACES=1, because that trust continues with each new commit.

Install somewhere else → CLAUDE_HOME=<dir>

The installer then writes to that folder instead of ~/.claude.

Which switch skips what

Set a switch as an environment variable, for example SKIP_MCP=1 deploy/scripts/install.sh. In PowerShell, use $env:SKIP_MCP=1. Both installers accept the same set.

SwitchCopy filesEconomy stepMCP serversjdtlsponytailPlugin offers
DRY_RUN=1previewpreviewpreviewpreviewpreviewpreview
SKIP_MCP=1skipped
SKIP_JDTLS=1skipped
SKIP_PONYTAIL=1skipped
SKIP_PLUGINS=1skipped
SKIP_ECONOMY=1skipped
--doctorskippedskippedskippedskippedskipped

solid dot Solid: the install step does not runhollow dot Hollow: it prints what it would do and writes nothing

One switch is not in the table: SKIP_PYTHON_CHECK=1. Without it, the installer stops before it copies anything when Python 3.10 or newer is missing. With it, the installer warns and continues, and the economy step is skipped.

Verification still runs and reports each skipped server, jdtls and ponytail. It leaves out only the plugin rows under SKIP_PLUGINS=1 and the economy check under SKIP_ECONOMY=1. Every switch is in the reference table.

First run

Start Claude Code in a repository and type one of these. Severity decides the bug route.

A feature, end to end → /ft-dev Add <feature> to <repo>

Replace both placeholders. The steps below show what follows.

A MAJOR or CRITICAL bug → /ft-fix DEV-1234

A Jira key can have any severity. Replace the sample key with yours.

A MINOR bug → Use bugfix-agent for DEV-1234. MINOR.

Type this sentence as your prompt, with your key.

A standard audit, read-only → ft-architecture-audit

Type: Use ft-architecture-audit on the current branch diff. Report violations with file:line.

A final external review → /autoreview

Only you can start this skill. No agent starts it.

The full list is in deploy/prompts/example-prompts.md. The entry points and the severity rules are in Quality Pipelines.

What one /ft-dev run does

  1. 1. Your prompt

    You type /ft-dev and the task.
  2. 2. Grade the task

    The run chooses architecture first or test-driven development first.
  3. 3. Delegate

    Leaf agents write the code, the tests and the docs.
  4. 4. ft-architecture-audit

    It reports each finding with file:line.
    • CLEANThe report or the pull request
    • FINDINGSDelegate the fixes, then audit again

Common questions

Short answers to four questions.

Does --doctor fail when items are missing?

No. Its exit code stays 0, so a script must read the verify: line. Only economy.py --check exits 1 when something is missing.

Why does the obsidian plugin stay missing?

This is expected, because no marketplace is configured for that row. A green row gives no vault access. The vault needs an MCP server and FT_VAULT_PATH: see Knowledge Vault.

Can I wire a Python or Docker repository?

No. A repository with no Java and no Angular stops with an error, and no other script wires them.

Which installer do I use in WSL?

Use install.sh inside Windows Subsystem for Linux (WSL). Use install.ps1 for your Windows profile. See Where to install the toolkit.

Related pages

Look up a fact, or read what the installed parts do.

Every switch, plugin and scriptThe tables are on Deployment & Usage Reference.
The hooks that the installer wiresEach hook is in the hook catalogue. To change an installer, see Contributing.
The standards behind the pointerSee Java, Angular and the Toolkit. Back to the Overview.
Open Deployment & Usage Reference