Skip to content
Back to skills

Add Project

ASecurity

Register the current directory as a Fantom MCP project and index it (addFantomProject, refreshFantomProject). Use when the session context says the directory is not registered.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
developmentjavascripttypescriptpythonjavaphpnodegit

Works with

  • mcp

Security analysis

A100/100

Scanned October 19, 2026

npx -y skills add Project-SandStar/FantomMcpServer --skill add-project --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Project?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Project
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/project-sandstar-add-project/badge)](https://www.skillsdirectory.com/skills/project-sandstar-add-project)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-project
description: Register the current directory as a Fantom MCP project and index it (addFantomProject, refreshFantomProject). Use when the session context says the directory is not registered.
---

Register `${CLAUDE_PROJECT_DIR}` with the Fantom MCP server.

Steps:

1. `ToolSearch("fantom", 30)` if the Fantom tools are not loaded yet.
2. Call `listFantomProjects` and check that no project already has this path
   or a parent of it. If one does, stop and tell the user its name and id.
3. Pick the language: `fantom` when the directory has `build.fan`, `fan/` or
   `.fan`, `.axon`, `.trio`, `.xeto` files; else the main language of the repo
   (`typescript`, `javascript`, `python`, `java`, `dart`, `php`). Pick the name
   from the directory name (or `podName` in `build.fan`).
4. Ask the user to confirm name, path and language in one line. Then call
   `addFantomProject` with `name`, `path` = `${CLAUDE_PROJECT_DIR}`,
   `language`, `autoIndex: true`.
5. Call `refreshFantomProject` for the new project id and wait for it.
6. Lazy indexing (watch git commits) is a server setting the MCP tools cannot
   change. Tell the user: add the new id to `indexing.lazy.projects` in
   `config/fantomMcpServer-config.json` of the mcpfantom repo, or set it to
   `"all"`.
7. Run the doctor so the plugin's project cache picks up the new project:
   `node "${CLAUDE_SKILL_DIR}/../../bin/doctor.mjs" --cwd "${CLAUDE_PROJECT_DIR}"`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.