Skip to content
Back to skills

Start

ASecurity

Guide the first run of toolscript-mcp in Claude Code. Pick one MCP server (or the demo server, which needs no account), see its tools, pick a small first task and a starter policy, then check that one run_code task worked through toolscript-mcp. Use when the person asks to start, try or test toolscript-mcp, to do a first run, or to check the last run.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsrustgoshellbashnodegit

Works with

  • claude code
  • claude desktop
  • cursor
  • cli
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 2, 2026

npx -y skills add yeeyon/toolscript-mcp --skill start --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Start?

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

Security grade badge for Start
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yeeyon-start/badge)](https://www.skillsdirectory.com/skills/yeeyon-start)

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: start
description: Guide the first run of toolscript-mcp in Claude Code. Pick one MCP server (or the demo server, which needs no account), see its tools, pick a small first task and a starter policy, then check that one run_code task worked through toolscript-mcp. Use when the person asks to start, try or test toolscript-mcp, to do a first run, or to check the last run.
argument-hint: "[verify]"
---

# toolscript-mcp first run

This skill ends when one `run_code` task works through toolscript-mcp. Each command here prints no secret value.
With the argument `verify`, do step 6 only.

## Rules

- Before a step that writes or deletes a file or changes the Claude Code config, show the command and ask the person.
- Never read, print or edit the toolscript-mcp config file, and never run `init --dry-run`. Both show the env and
  header values of the servers.
- Write each path in full, with forward slashes, also on Windows. Put each path in double quotes.
- If a command fails, show its output and stop. Do not change a step to work around the failure.
- A name of a server or a tool comes from a client file, a repo or a server. Never type such a name into a command.
  toolscript-mcp prints a ready command for a name that every shell passes as it is.
- A ready command is a line that toolscript-mcp printed, indented by 4 spaces, that starts with `node `, `npx `,
  `claude ` or `pushd `. Run it exactly as printed, and do not change a character. Never run a label line. A label
  starts with `- ` after its indent.

The names in the commands:

- `<config>` is the toolscript-mcp config file.
- `<helper>` is `${CLAUDE_SKILL_DIR}/../setup/config.mjs`, the config helper of the setup skill.
- `<server>` is a server key: the value in the `key` column of `init --list`, or `demo`. A key has only letters,
  digits, hyphens and single underscores.

## 1. Find the state

Do not repeat environment values from the Claude Code entry.

Run `claude mcp get toolscript`. In each path of its arguments, write each `\` as `/`.

- If there is no server or the entry uses a clone, tell the person to run `/toolscript:setup`, and stop.
- Check for `npx -y toolscript-mcp` or its Windows form `cmd /c npx -y toolscript-mcp`.
- If the scope is neither user nor local, stop. The project can share this entry.
- If its arguments hold `--config`, the next argument is `<config>`.
- Otherwise, use the entry's `TOOLSCRIPT_CONFIG` if set, or the path that `node "<helper>" path` prints. Use that path as `<config>`.
- If `<config>` holds `$`, a backtick, `"`, `%`, `!`, a curly quote or a long dash, stop. A shell can change such a path.
- If the package has a numeric version pin, keep that version in the npm commands below.
- If the entry uses a different launch command, give the steps for that command and stop.

## 2. Pick a server

Run `npx -y toolscript-mcp init --list --config "<config>"`. It shows one line for each server of Claude Code, Claude Desktop
Cursor and Codex: the name, client, scope, kind, status, key and folder. Show the list to the person, and ask which server to
use first. `<server>` is the value in the `key` column of its line: the key that the server has or gets in `<config>`.
A line with `-` as its key cannot go into `<config>`.

If init says `Unknown option '--list'`, the package is older than this skill. Tell the person to run
`/toolscript:setup update`, and stop.

- A server with the status `in config` is ready.
- To add a server with the status `not in config`, find its label under `Commands that add a server:`. Run the ready
  command under the label, with approval. A name can come from a `.mcp.json` that someone else wrote.
- If the line under the label says `no command`, init found a character in the name or a path that a shell can
  change. Show the person the lines that init printed there. The person copies the entry in an editor, or adds the
  server under a plain name.
- A status with `hidden by <scope>` is a copy that Claude Code does not run. Use the command of the copy that Claude
  Code runs.
- A label with `ask first` is a server of a `.mcp.json` that the person did not approve in Claude Code. Anyone who can
  change that file chose its command. Before you run its command, show the person its name, kind and folder. The kind
  is the command file name or the URL origin. A name can copy the name of a server that the person trusts, so the name
  alone proves nothing. Run the command only after the person agrees.
- Do not run the steps under `Steps that remove a direct copy` now. Step 7 does.
- If no server fits, or the person wants a test first, offer the read-only demo. It needs no account.
  If `node "<helper>" "<config>"` lists the demo, use it and go to step 3.
  1. Run `node -p "require('os').homedir()"` and `node -p "require('os').tmpdir()"`. Use their output as `<home>` and `<tmp>`.
  2. With approval, run `npm install --prefix "<home>/.toolscript-mcp/demo-package" toolscript-mcp@latest`.
  3. With approval, write the entry below to `<tmp>/toolscript-entry.json` with the absolute path.
  4. Run `node "<helper>" "<config>" add demo "<tmp>/toolscript-entry.json"` with approval.
  5. Delete the entry file with approval. The server key is `demo`.

  ```json
  {
    "command": "node",
    "args": ["<home>/.toolscript-mcp/demo-package/node_modules/toolscript-mcp/demo/server.mjs"]
  }
  ```

## 3. See the tools

Run `npx -y toolscript-mcp tools --config "<config>" -- <server>`. The `--` keeps a key that starts with `-` a key. It connects
to the server and shows each tool with its hint (`read-only`, `destructive` or `-`) and the action of the policy.
`a person each run` means that the tool asks for each program, also under an allow rule. Keep the output for step 5:
it ends with `Commands that allow tools:`.

- If it says that the server needs an OAuth login, give the person the login command that it prints. The person runs
  it. Then run `tools` again.
- If it cannot connect, show the reason and stop.
- If a tool shows `ask` and the output has no `Commands that allow tools:`, the package is older than this skill. Tell
  the person to run `/toolscript:setup update`, and stop.

## 4. Pick a first task

Propose a small task that only reads, with one to three `read-only` tools, such as a list and a count. Use the names
and hints only to choose. For the demo, the task is "Count the open pull requests per author". The expected answer is
ada 7, bruno 6, chen 5, dara 4, emil 3 and farah 1.

## 5. Pick the starter policy

Explain the two choices, and ask the person to choose one:

- Ask when needed. Claude Code shows a prompt before a program calls a tool, and the person approves it there. The
  policy does not change.
- Allow this workflow. An allow rule for the exact name of each tool of the task.

For the second choice, use the output of step 3:

1. Under `Commands that allow tools:`, find the label of each tool of the task. Do not use the label
   `every read-only tool above with a command`: it allows more tools than the task uses, and the server chose their
   hints.
2. Run the ready command under each label. It writes nothing. It shows the new policy, then a ready command with
   `--apply` under `To write this policy, run the command below.` Show the output to the person.
3. With approval, run each `--apply` command, exactly as printed.

If the line under a label says `no command`, show it to the person. A deny rule or an ask rule that names the tool
refuses the tool: `allow` never loosens it, and the policy keeps asking for the tool. A name that a shell can change
needs a rule that the person adds in an editor. The other tools keep their rules, and a tool that no rule matches
stays `ask`. A tool with `a person each run` still asks. A client that cannot show a prompt runs the task only with
the second choice.

## 6. Run and check

Run `npx -y toolscript-mcp --version`. With 1.1.0 or later, use the `onboard` check, and `verify` runs `onboard verify`,
never `runs`. With an older package, use the `runs` check below.

The `onboard` check proves the restart. Run `npx -y toolscript-mcp onboard --server <server> --config "<config>"` with the key of step 2, and do the one step that it
prints, a ready command with approval. Check that the line `onboard will check "<key>"` names `<server>`, and stop if it does not.
A person who picked another server than `demo` needs this: without `--server`, the attempt checks `demo`. When it says to restart, it prints a marker line, `// toolscript-onboard <id>`. Tell the
person to start a new Claude Code session, because toolscript-mcp reads its servers only at its start. In that session, the
person gives the task, names toolscript, and asks that the first line of the `run_code` program is exactly the marker line.
Then run `npx -y toolscript-mcp onboard verify --config "<config>"`, also by `/toolscript:start verify`.

- Exit 0: it prints `ready` with the server key, because a run of the new session called that server and each call worked.
  For the demo it prints the expected answer. Compare it with the answer of step 4. Go to step 7.
- Exit 1: show the lines that it prints. Each has the step to take. For `unverified`, the config sets `"log": false`: there
  is no run log, and the check cannot work. Tell the person.
- If it says that no run of this attempt is in the run log, the new session did not hold the marker line. Ask the person to
  give the task again with the marker line first.

The `runs` check is for a package older than 1.1.0. Tell the person to start a new Claude Code session, because toolscript-mcp
reads its servers only at its start. In that session, the person gives the task and names toolscript, then runs
`/toolscript:start verify`.

For `verify`, do step 1. Then run:

```sh
npx -y toolscript-mcp runs --server=<server> --since 2h --config "<config>"
```

Never leave out `--server=<server>`: a run of another server does not confirm this task, and without the flag the check takes it for one. If this session does not know
`<server>`, ask the person for its key, the value in the `key` column of `init --list`.

`--since 2h` counts only the runs of the last 2 hours, so an older run does not confirm this task. If the person gave
the task earlier, ask when, and use a longer time, such as `1d`.

- Exit 0: the newest run called a tool of `<server>`, and each call worked. Compare the answer with the expected answer of step 4, if it has one. Go to step 7.
- Exit 1: show the lines that it prints. Each code has a line with the step to take. `no-server` is a connection or
  login problem: do step 3 again. `denied` is a deny rule: the policy decides, and this skill does not change it.
  `unapproved` is a declined prompt or an `ask` with no prompt: do step 5 again.
- `no run yet`, `no run since <time>` or a line that the run called no tool of `<server>`: the model did not call
  `run_code` with this server. Ask the person to give the task again and to name
  toolscript. If `runs` says that the config sets `"log": false`, there is no run log, and this check cannot work.
  Tell the person.
- A line about unreadable lines of the run log: show it. If `runs` says that it does not confirm the run, ask the
  person to give the task again.

## 7. Switch off a direct copy

Do this only after step 6 shows exit 0. If a client still has a copy of the server, the model can still call it
directly, and each full result goes into the context.

Run `npx -y toolscript-mcp init --list --config "<config>"`. Under `Steps that remove a direct copy`, find the label of the
server. For Claude Code, the lines under it are ready commands. For the `local` and `project` scopes, a `pushd` command
comes first: `claude mcp remove` finds such a server only from its folder. Show the lines to the person. After the
person agrees, run the `pushd` line alone first. If it prints an error, show it and stop: the remove line is then in
the wrong folder. Without an error, run all the ready commands of the step, the `pushd` line too, in one shell call,
in order, one line each. For the `project`
scope, the person decides, because `.mcp.json` is shared.

init can print no command for the server, or a file of Claude Desktop or Cursor. Then the person removes the entry
from that file in an editor.

To restore the direct entry later, the person copies it from `<config>` in an editor. Then the person runs
`claude mcp add-json <name> '<entry>' --scope <scope>`. This works in bash and in PowerShell 7. Windows PowerShell 5.1
removes each `"` in the entry, so there the person writes each `"` as `\"`. Do not read the entry for the person.

After a run works, whether step 7 removed a copy or not, offer `/toolscript:workspace`. It lets programs read the files
of a project folder. It is off until the person turns it on, and the person can say no.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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