t8.dev

Skill, Script, or Door?

updated

Three questions, asked in order, that tell you whether the thing you're about to install should be an MCP server at all. First yes wins.

Quick start

Hand this guide to your own AI and let it walk you through.

I just found this guide online: "Skill, Script, or Door?" (https://t8.dev/guides/skill-script-or-door/). Can you walk me through it and help me make it useful for me?

Start by asking me what I am working with and what I want out of it. Then take it one step at a time, skip anything that does not apply to me, and ask before anything that changes my computer or my accounts.

The full guide is below.
  • ChatGPT, Claude or any chat. The whole guide comes with it.
  • Download + copy prompt An agent that reads files (Claude Code, Codex). Saves skill-script-or-door.md to Downloads.
Set up this guide

Pick your AI and where you run it above and your steps appear below.

Download

contents

Most of what you want is not an MCP server. Ask in order; first yes wins.

1 · Does a command-line tool already do this?

git · gh · ffmpeg · curl · docker · aws
→ Yes? Use the CLI. Tell your agent the command, in its map file (CLAUDE.md or AGENTS.md).

Your map file is AGENTS.md. If you also use Claude, a CLAUDE.md holding the single line @AGENTS.md makes the two share it.

Codex and the internet: Codex’s default workspace-write sandbox keeps network access off unless you enable it in config.toml. So gh, curl, aws and git push will fail there until you do (network_access = true under [sandbox_workspace_write]). ffmpeg and local git work as-is. Turn network on knowingly.

2 · Is it how you do things: a procedure, a format, a house style?

→ Yes? Write a Skill at .claude/skills/<name>/SKILL.md. Its body loads only when it’s used, so it costs almost nothing until you need it.

→ Yes? Write a Skill at .agents/skills/<name>/SKILL.md in your project. Codex loads only each skill’s name and description up front and reads the full file when it picks that skill.

→ Yes? Write it down as a procedure. Put the steps in a plain markdown file and point to it from your map file (AGENTS.md). If your agent has its own skills feature, use that instead; its docs say where the folder goes.

3 · Does it need a service with no CLI, or live state?

Notion, Linear, Sentry, a database behind a login.
→ Yes? That’s a door. Install an MCP server.

New to this: you don’t have to know the answer to question 1 yourself. Ask your agent “Is there a command-line tool for this?” A command-line tool is a program you run by typing its name, like git. And a door just means an MCP server: a connection to a live service. Most of what you want from an agent is not one.

If it’s a door

The full setup, step by step for each agent: MCP: The Room Gets a Door.

# run where you launch claude; use the publisher's URL from their docs
claude mcp add --scope project --transport http sentry https://mcp.sentry.dev/mcp
claude mcp list      # ✔ Connected. ⏸ Pending approval = run claude, approve

add only writes .mcp.json; list shows status. Then run claude and ask for the server’s tools.

Desktop app (Claude): many doors are one click here. Press + next to the prompt box to open the connector directory, and manage or disconnect them under Settings, then Connectors. Connectors are MCP servers with a graphical setup. For a server that isn’t listed, add it manually through a settings file, as the commands above do.

# run in a terminal; use the publisher's URL from their docs
codex mcp add sentry --url https://mcp.sentry.dev/mcp
codex mcp login sentry     # only if the server uses OAuth
codex mcp list

add saves the server in Codex’s config.toml (default ~/.codex/config.toml; to scope one to a project, put it in .codex/config.toml, trusted projects only). Then run codex and type /mcp to see which servers are connected.

Desktop app (Codex): no terminal needed. In the ChatGPT desktop app go to Settings, then MCP servers, then Add server. The desktop app, the CLI and the IDE extension share one setup, and typing /mcp in the composer lists connected servers.

The three questions and the stop-rules below are the same for any agent. Only the install step differs: if your agent supports MCP servers, its docs show how to add one by URL (a command or a settings file). Use the publisher’s own URL from their docs.

Three stop-rules

  • One door at a time. Use it a week before hanging another.
  • Prefer remote (added by URL). It runs on their machine; a local server runs on yours, as you.
  • Name the publisher, or don’t open it. A registry verifies the publisher’s namespace, not its code.

Not sure which one you need? Say what you want your agent to do, and this writes a prompt that makes your agent run the three questions above and tell you. Paste it into your agent.

I want my agent to be able to do this: ‹goal›
It would touch: ‹touches?›
Tools I already use for it: ‹tools?›

Help me decide whether this should be a command-line tool, a Skill, or an MCP server (a "door"). Ask in this order and stop at the first yes:
1. Does a command-line tool already do this (git, gh, ffmpeg, curl, docker, aws)? If so, use the CLI and tell me what to add to ‹map›.
2. Is it how I do things: a procedure, a format, a house style? If so, write a Skill, or a plain procedure file if my agent has no skills.
3. Does it need a service with no command-line tool, or live state (Notion, Linear, Sentry, a database behind a login)? Only then is it a door.
Say which question gave the first yes, and why.
If it is a door: name the publisher, prefer a remote server added by its URL, tell me what access it will get, and check the setup against the publisher's own docs. Hang one door at a time.

‹pace›

At work: many doors sign in to a service as you, so ask before adding one that touches company data (CRM, tickets, customer records). Check your employer’s rules first, since some keep an approved list. Stop-rule 3 matters most here: write down who publishes the server before you connect it.

I already code: the card’s title has a Script in it. If there’s no CLI but there is an API, a short script in your repo that the agent runs is often a better fit than a door: you can read it, review it and version it like any other code. Reach for a door when you need live state or sign-in you don’t want to build yourself.

Download

Sources

All 12 links
  1. https://code.claude.com/docs/en/skills
  2. https://code.claude.com/docs/en/mcp
  3. https://modelcontextprotocol.io/registry/about
  4. https://developers.notion.com/docs/mcp
  5. https://linear.app/docs/mcp
  6. https://mcp.sentry.dev/
  7. https://git-scm.com/docs
  8. https://cli.github.com/manual/
  9. https://ffmpeg.org/ffmpeg.html
  10. https://curl.se/docs/manpage.html
  11. https://docs.docker.com/reference/cli/docker/
  12. https://docs.aws.amazon.com/cli/