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.
- YouClone
The toolkit repository
- YouPreview
The installer prints each change
NOTHING WRITTEN - InstallerInstall
Copies files, registers servers
- InstallerVerify
One line per item, a fix offer for each gap
- 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
The Claude Code CLI. Without it, the installer skips the server and plugin setup. On Windows, follow Install Claude Code (Windows).claudecommand
It copies skills, agents and rules on macOS and Linux.rsync
It copies skills, agents and rules. Windows includes it, sorobocopyinstall.ps1needs nothing extra.
Step 2 clones the toolkit with it.gitPython 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=1installs anyway, without the hooks.Node.js and
npmnpxruns thememoryserver and the registry skills.npminstallsagent-browser. Theponytailhooks need Node.js.
What only one part needs
Network or VPN
Access toai.friendly-tech.com. The three internal servers need it.Homebrew and Java 21
The optional Java language serverjdtlsneeds both on macOS and Linux.Scoop and Java 21
The optional Java language serverjdtlsneeds both on Windows.GitHub CLI
The optional clone of the Knowledge Vault and its unattended push need it, withgh, signed ingit.
Only the alternative serveruvxmcp-obsidianneeds it.
The five steps
- 1
Install the Claude Code CLI
The installer expects
Youclaudeon yourPATH. On Windows, follow Install Claude Code (Windows). - 2
Clone the repository
Open a terminal in its root. The commands are the same on every system.
Yougit clone https://github.com/Friendly-Technologies/ft-ai-toolkit.gitcd ft-ai-toolkit - 3
Preview the install
The preview writes nothing. It prints many
YouMISSINGlines because nothing is installed yet, and this is expected.DRY_RUN=1 deploy/scripts/install.sh$env:DRY_RUN=1; .\deploy\scripts\install.ps1The end of a preview, on an empty home folder
── 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.shwith an empty scratch home folder and no terminal. The other lines are cut. Your counts differ. - 4
Run the install
Answer
Youyornto each offer. IfFT_VAULT_PATHis not set, the installer also asks "set the vault path now?". It saves your answer in~/.claude/settings.jsonand can clone the vault repository. The rest is in Knowledge Vault.deploy/scripts/install.shRemove-Item Env:\DRY_RUN.\deploy\scripts\install.ps1 - 5
Verify
This installs nothing. It prints one line per item, passed or
YouMISSING, and offers a fix for each missing one. Every plain install ends with the same pass.deploy/scripts/install.sh --doctor.\deploy\scripts\install.ps1 -DoctorThen, 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,/agentsandclaude 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
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
You--root DIRto read another transcript directory.python3 ~/.claude/hooks/artifact-registry.py backfill - 2
Create the secrets file, if you use
vault-note.pyCreate
You~/.config/ft-ai-toolkit/vault-secret-valueswith mode0600and one secret per line. Without it, the secret scan checks key shapes only. See Agent Harness, vault-note.py. - 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.
Youpython3 ~/.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.
acs-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-triagebugfix-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-writerverifieragentsbugfixcode-qualitydbdeploydepsfeaturesecurityuxword-pages.pyhtml-page.pyshape-check.pyoverview.mdpre-show.mdintake.mdqa-chapters.mdsource-tags.mddiff-router.pyroute-schema.jsonevidence-store.pyevidence-schema.jsongit-safety-check.shversion-gate.pyprice-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.pymain-rules.mdsettings.jsonCLAUDE.mdqdrant-vector-dbjira-mcpcontext7memoryname 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.
The step adds twelve hooks in fifteen entries, one allow rule, or two when the interpreter is notsettings.jsonkeeps your valuespython3, and three missing values. A value that you set stays. See the full list.
If you wrote inside the markers, the installer saves aCLAUDE.mdchanges between markers only.bak-copy, prints a warning and replaces the block.Old toolkit names go
The step removes only the assets that the toolkit installed under-nextnames. It offers to disableclaude-memwhere that plugin is enabled.
What verification offers, one y at a time
superpowersjdtls-lspimpeccableponytailemil-design-enganimatereview-animationsimprove-animationsfind-animation-opportunitiesanimation-vocabularyapple-designpick-ui-librarydesign-taste-frontendtechnical-writingwriting-design-docsdocumentation-writerdoc-coauthoringdesign-doc-mermaidagent-browserjdtlscodebase-memory-mcpname 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. Detect the stack
It searches for the build files, in any folder.- JAVA
pom.xmlor a Gradle file - ANGULAR
angular.json - BOTHBoth pointers
- NEITHERError, exit 1. Python and Docker repositories stop here.
- JAVA
2. Choose the file
The first match wins.- FIRSTAn existing
CLAUDE.md - THENAn existing
AGENTS.md - ELSEA new
CLAUDE.md
- FIRSTAn existing
3. Write the pointer
A managed block goes betweenFT-AI-TOOLKIT:STARTandENDmarkers. It namesft-java-standards,ft-angular-standardsor both, with a quick reference of the non-negotiable rules.4. Add the map and the gate
It generates the skeletonCOMPONENT-MAP.md, seedsCOMPONENT-MAP.semantic.mdand copiescomponent-map.yml.
Wire it in one command
Replace ../ftacs with the path of your repository.
- 1
Preview
The bash preview prints the file list and a diff of the block. The PowerShell preview prints the file list.
YouDRY_RUN=1 deploy/scripts/wire-repo.sh ../ftacs$env:DRY_RUN=1; .\deploy\scripts\wire-repo.ps1 ..\ftacsThe file list of a preview
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
Apply
The script changes files in that repository and commits nothing.
Youdeploy/scripts/wire-repo.sh ../ftacsRemove-Item Env:\DRY_RUN.\deploy\scripts\wire-repo.ps1 ..\ftacs - 3
Fill the semantic file
Add one
You### <module>section for each module in the skeleton. Haveft-architecture-auditorft-doc-writer-agentwrite them. The second gate fails until every module has its section. - 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
YouFriendly-Technologies. Add the secretFT_AI_TOOLKIT_TOKENif the toolkit repository is private.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
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. A pull request starts it
The workflow watches Java, TypeScript, Maven, Gradle settings and SQL files,db/folders andCOMPONENT-MAP.md. You can also start it by hand.2.
It regenerates the skeleton and compares the result with Git.component-map-gate.sh- FAILThe file is not committed
- FAILThe file differs from the new result
- PASSThe file is up to date
3.
It compares the skeleton modules with the semantic file.semantic-coverage.sh- 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 staleand the diff, orCOMPONENT-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
### svctoCOMPONENT-MAP.semantic.md, then commit the file.
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).
wire-repo.sh wired it. The path of the toolkit is <toolkit> here.Component map: two layers
| Question | COMPONENT-MAP.md | COMPONENT-MAP.semantic.md |
|---|---|---|
| What it holds | Modules, 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 it | The script gen-component-map.sh. The output is deterministic. | An agent. The seed comes from deploy/templates/. |
| What CI checks | Content. Any drift fails. | Coverage. A missing section fails. The prose is not checked, because AI output is not reproducible. |
| When you update it | Before each commit, like generated code. | When a module is added or its responsibility changes. |
Add the gates by hand, instead of the copied workflow
- 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
| Channel | How it is wired |
|---|---|
| Component map | wire-repo.sh installs the CI gate, so the skeleton stays fresh. |
CLAUDE.md or AGENTS.md | wire-repo.sh writes the managed standard pointer block. |
Qdrant ft_code | Not 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.
| Server | VPN | Node.js | Local binary | Your own key | uvx |
|---|---|---|---|---|---|
| The installer registers these | |||||
| needs VPN | ||||
| needs VPN | ||||
| |||||
| needs Node.js | ||||
| Verification offers this one | |||||
| needs a local binary | ||||
| Register one of these by hand | |||||
| needs your key | ||||
| needs your key | needs 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.
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.
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).
.\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.
| Switch | Copy files | Economy step | MCP servers | jdtls | ponytail | Plugin offers |
|---|---|---|---|---|---|---|
DRY_RUN=1 | preview | preview | preview | preview | preview | preview |
SKIP_MCP=1 | skipped | |||||
SKIP_JDTLS=1 | skipped | |||||
SKIP_PONYTAIL=1 | skipped | |||||
SKIP_PLUGINS=1 | skipped | |||||
SKIP_ECONOMY=1 | skipped | |||||
--doctor | skipped | skipped | skipped | skipped | skipped |
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. Your prompt
You type/ft-devand the task.2. Grade the task
The run chooses architecture first or test-driven development first.3. Delegate
Leaf agents write the code, the tests and the docs.4.
It reports each finding withft-architecture-auditfile: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?
--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?
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.