# teleport

Adopt this skill: https://proskills.md/skills/other/mnlt-teleport-meta-skill

Page: https://proskills.md/skills/other/mnlt-teleport-meta-skill
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: meta-skill/SKILL.md
size: 8078
upstream: https://github.com/mnlt/teleport/blob/main/meta-skill/SKILL.md

````text
---
name: teleport
description: Discover and execute specialized skills from a curated marketplace catalog on GitHub, fetched on-demand and run ephemerally (no permanent installation). The catalog covers a broad and growing range — document generation (PDF/Word/Excel/PowerPoint), visual design, presentations, web app testing, animated GIFs, dev tooling (MCP scaffolding, frontend components), creative outputs (algorithmic art), technical documentation lookup (library/API/framework references), and more. Consult this skill whenever the user asks for a capability that could plausibly be covered by a community skill — the catalog is the source of truth, not this description.
---

# Teleport — Ephemeral Skill Execution

## When to activate

Activate this skill whenever the user's request could plausibly be covered by a specialized community skill. Examples span document generation, visual design, dev tooling, testing, library/API documentation lookup, creative outputs, and more — see the "Example triggers" table below, but treat it as illustrative, not exhaustive.

**Always fetch the catalog before deciding this skill is not applicable.** The catalog grows and this description lags. Do not gatekeep based on the description alone — the protocol's Step 1 (fetch catalog) is the authoritative source of truth for what is and isn't available.

Only skip this skill for clearly native tasks with no plausible community-skill coverage: debugging the user's existing code, explaining concepts, editing local files without specialized output formats, searching the current codebase.

## Protocol

### Step 1 — Fetch the catalog

Use Bash:

```bash
curl -sL https://raw.githubusercontent.com/mnlt/teleport/main/catalog.json
```

Parse the output as JSON. Each entry in `skills[]` has: `id`, `name`, `description`, `tags`, `source_repo`, `path`, `ref`.

### Step 2 — Match user intent

Score each skill against the user's request using `description` and `tags`.

- **Single strong match** → proceed to step 3.
- **2+ plausible candidates** → briefly list the top 2-3 to the user and ask which.
- **No plausible match** → tell the user "no suitable skill found in the teleport catalog" and fall back to native capabilities.

### Step 3 — Fetch the matched skill's SKILL.md

Build the raw URL:
```
https://raw.githubusercontent.com/{source_repo}/{ref}/{path}/SKILL.md
```

Download it to a temp dir:

```bash
mkdir -p /tmp/teleport/{id}
curl -sL {url} -o /tmp/teleport/{id}/SKILL.md
```

Immediately after the download, emit an anonymous usage ping (silent failure, must NOT block). This lets the maintainer see which skills are actually used so the catalog can surface the popular ones:

```bash
[ "$TELEPORT_NO_TELEMETRY" != "1" ] && curl -sL -o /dev/null -m 2 -X POST \
  "https://teleport.mnlt.deno.net/count" \
  -H "content-type: application/json" \
  -d "{\"event\":\"${TELEPORT_TELEMETRY_PREFIX}skill-used\",\"subject\":\"{id}\"}" 2>/dev/null || true
```

Read the downloaded SKILL.md with the Read tool. Inform the user: `Using skill: {name} (from {source_repo})`.

### Step 3.5 — Check freshness

Compute the freshness label from the catalog entry's `volatility` and `last_verified_at`:

| Volatility | Fresh (silent) | Check (warn)    | Stale (strong warn) |
|------------|----------------|------------------|---------------------|
| timeless   | ≤365d          | —                | >365d               |
| stable     | ≤180d          | 180–365d         | >365d               |
| evolving   | ≤30d           | 30–90d           | >90d                |
| volatile   | ≤7d            | 7–30d            | >30d                |

Compute age as `today − last_verified_at` in days. Then:

- **fresh** → proceed silently.
- **check** → before executing, tell the user: `⚠ This skill was last verified {N} days ago ({volatility}). Examples should still work, but if a request fails unexpectedly the API may have changed — please flag it so the skill can be refreshed.`
- **stale** → before executing, tell the user: `⚠ This skill hasn't been verified in {N} days ({volatility}). Treat the curl patterns as hints rather than guaranteed current. If anything fails, fall back to web search for current API docs and report the breakage.`

If `volatility` or `last_verified_at` is missing from the catalog entry (e.g. older schema), default to `evolving` and use `added_at` as the verification date.

### Step 4 — Follow the skill, lazy-fetching auxiliary files

As you follow the SKILL.md instructions:

- **If instructions reference another filename** within the skill folder (e.g. "see REFERENCE.md", "read FORMS.md", "run scripts/extract.py"), construct its raw URL:
  ```
  https://raw.githubusercontent.com/{source_repo}/{ref}/{path}/{referenced-file}
  ```
  and download it to `/tmp/teleport/{id}/{referenced-file}` (preserving subdirectories with `mkdir -p`).
- **To execute a script**, run it from its cached temp path.
- **Recurse on demand**: if a fetched markdown itself references another file, fetch that too when its moment arrives — never all-at-once eagerly.
- If you're unsure whether a file exists in the upstream folder, try fetching it; a 404 is a cheap signal.

### Step 5 — Handle failures

- **Fetch fails (404, network)** → report the failing URL, then either fall back to native or ask user to install the skill normally.
- **Missing runtime dependency** (e.g. script needs Python packages not installed) → report the dependency, do NOT fake execution.
- **Ambiguous reference** (e.g. "see the templates folder" without filename) → ask the user for clarification, or list the upstream folder via `curl -sL https://api.github.com/repos/{source_repo}/contents/{path}?ref={ref}`.

### Step 6 — Do NOT persist by default

Never copy fetched files into `~/.claude/skills/` automatically. Everything lives in `/tmp/teleport/` and disappears with the session.

Only if the user explicitly says "install this permanently" or similar:
```bash
cp -r /tmp/teleport/{id}/ ~/.claude/skills/{id}/
```

## Attribution

When the task finishes, state briefly: `Used skill: {name} from {source_repo}.`

## Example triggers

| User says | Match |
|---|---|
| "Create a PDF from this data" | `pdf` |
| "Fill this PDF form" | `pdf` |
| "Read this .docx file" | `docx` |
| "Edit my Excel spreadsheet" | `xlsx` |
| "Build me a slide deck on X" | `pptx` |
| "Design a poster for Y" | `canvas-design` |
| "Test this webapp for accessibility" | `webapp-testing` |
| "Make an animated GIF for Slack saying Z" | `slack-gif-creator` |
| "Scaffold a new MCP server" | `mcp-builder` |
| "Build a React component for Q" | `frontend-design` |
| "Generate some algorithmic/generative art" | `algorithmic-art` |

## Notes

- Minimum 2 network round-trips (catalog + SKILL.md) before real work begins. Expect 1-2s latency.
- All skills in catalog v0.1.0 originate from `anthropics/skills`. Verify the upstream license before relying on any skill in production.
- Never upload user data to external services during fetch. Only GET requests to `raw.githubusercontent.com` and `api.github.com`.

## Credentials for fetched skills

If a fetched skill requires credentials (API keys, OAuth tokens, etc.) to authenticate with an external service or CLI, **look for them in the process environment variables** — do NOT expect them embedded in any SKILL.md file.

Naming convention to expect:
- `<SERVICE>_API_KEY` — generic API keys (e.g. `CONTEXT7_API_KEY`, `OPENAI_API_KEY`).
- `<SERVICE>_ACCESS_TOKEN` / `<SERVICE>_REFRESH_TOKEN` — OAuth tokens.
- `<SERVICE>_TOKEN` — generic token alias.

Check availability using a boolean pattern that **never echoes the value**:
```bash
[ -n "$CONTEXT7_API_KEY" ] && echo "CONTEXT7_API_KEY: PRESENT" || echo "CONTEXT7_API_KEY: MISSING"
```

**NEVER** use `echo "$VAR"` or `echo "${VAR:-MISSING}"` — the former echoes the actual token, the latter echoes the token when it's set. Both expose secrets to the conversation transcript. Use only the boolean pattern above.

If the r
````

## File: README.md
upstream: https://github.com/mnlt/teleport/blob/main/README.md

````text
# Teleport

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Skills in catalog](https://img.shields.io/badge/catalog-45%20entries-green.svg)](catalog.json) 
[![GitHub stars](https://img.shields.io/github/stars/mnlt/teleport?style=social)](https://github.com/mnlt/teleport/stargazers) 

## MCP, but without the MCP

Teleport replaces your Claude MCPs with curated ephemeral skills that call the REST APIs directly (GitHub, Stripe, Notion…) with credentials in env vars, each loaded on demand - so you avoid having every MCP's schemas injected into context from the first message whether you use them or not.

## Wait, what?

MCP is like having all your apps open at the same time. So you’ve already burned tokens before the first prompt. 

Teleport is like opening only the app you need, exactly when you need it - so you only spend tokens when it actually matters.

The result: a smaller baseline context per turn and an agent that composes calls instead of blindly consuming whatever an MCP tool returns.

> **Want teleport to support an MCP?** Thumbs-up (or add it) on the [MCP Request Board](https://github.com/mnlt/teleport/issues/1).
>
> **Want to submit your own MCP?** Increase adoption - users discover and use it while coding. See [CONTRIBUTING.md](CONTRIBUTING.md).

## Why not just…

**…reuse MCP since it already standardizes integration?** MCP solves "one integration, many clients". Teleport solves "keep the baseline context small when I'm only using one or two services per turn". Different problems. If you don't feel the per-turn baseline cost, MCP is fine.

**…lazy-load MCPs instead?** Claude Code's tool-search MCP does that. Teleport goes a step further — the MCP server is off entirely, loaded only when the skill fires.

**…handle OAuth like MCP does?** For API-key auth it's just an env var. For OAuth-based MCPs (Notion HTTP, Figma hosted, Atlassian Rovo) there's no OAuth bypass - the user generates a PAT from the service dashboard and teleport stores that. MCP's OAuth handling is genuinely nicer there.

## 1. Install

```bash
curl -sL https://raw.githubusercontent.com/mnlt/teleport/main/setup/install.sh -o /tmp/teleport-install.sh && bash /tmp/teleport-install.sh
```

Installs the `teleport-setup` CLI into `~/.local/bin` and the `teleport` meta-skill into `~/.claude/skills/teleport/`.

## 2. Setup

```bash
teleport-setup
```

Scans your installed MCPs, auto-migrates the ones whose credentials are already in the MCP's env block (copies them to `~/.claude/settings.local.json` and adds the MCP to `disabledMcpServers[]`), and walks you through the rest. Then restart Claude Code (`/exit`, then `claude`) and ask naturally - the agent calls the service's REST API directly via the matching skill.

Need a credential later?

```bash
teleport-setup add-key <service>
```

Opens the signup page, validates the format, saves it with masked input.

## 3. Use

Teleport can activate on its own, but if you want to be sure, drop "use teleport" in your prompt

```bash
How do I set up Next.js 15 app with Auth.js ... use teleport
```

## What you save

MCP tool definitions get loaded into every turn. In a multi-server setup, that's tens of thousands of tokens paid upfront - every turn, for schemas the agent may not use. Bigger context windows raise the ceiling, but they don't change the per-turn cost, cache invalidation, or the "process everything the tool returns" problem.

Teleport skills don't pre-load. Nothing enters context from message one — no tool definitions, no schemas, no compounding across turns. A skill loads once, on demand, only when the agent actually needs it.

## Two paths, depending on how the MCP was installed

Not every MCP stores its credential somewhere teleport can read. Both paths end up the same place: env var in `settings.local.json`, MCP disabled, skill hits REST API directly.

| Path | When it applies | What teleport does | User effort |
|------|-----------------|--------------------|-------------|
| **One-click migration** | Credential already in the MCP's `env` block in `~/.claude.json` - most self-hosted stdio MCPs (GitHub, Slack, Stripe, Supabase, Linear, etc. installed with `--env`) | Copies the credential to `settings.local.json`, disables the MCP | Zero typing |
| **Generate-and-paste** | Hosted / OAuth-based MCPs (Notion HTTP, Figma hosted, Atlassian Rovo) where the token lives in a Claude Code cache teleport can't access | Opens the signup page, you generate an API token, paste it (masked input) | One extra step, handled inline |

## Supported MCPs

Context7 · GitHub · Superpowers · Slack · Notion · Linear · Figma · Jira · Exa · Stripe · Supabase · Vercel · Netlify · Wellread · Cloudflare · Railway · Resend · Sentry · PostHog · Lemon Squeezy · Discord · n8n

See [catalog.json](./catalog.json) - 45 entries (21 MCP-wrappers + 24 self-contained skills. Each skill's license is governed by its upstream `source_repo`.

Teleport also ships self-contained skills:

- **10 from [`anthropics/skills`](https://github.com/anthropics/skills)** - pdf, docx, xlsx, pptx, canvas-design, webapp-testing, mcp-builder, frontend-design, algorithmic-art, slack-gif-creator.

All fetched on-demand from `/tmp/` when you ask for something they cover; nothing persists in `~/.claude/skills/`.

## How migration works

1. Read `~/.claude.json` → find installed MCPs and any credentials in their `env` blocks.
2. For each MCP matched in `mcp-knowledge.json`, write the credential to `~/.teleport/env.sh` (mode 0600) and append a `source` line to `~/.zshrc` and `~/.bashrc` if they exist. Legacy `env` blocks in `~/.claude/settings.local.json` auto-migrate to `env.sh` on first run.
3. Add the MCP name to `disabledMcpServers[]` in `~/.claude.json` - the server stops loading, its tool schemas disappear from the agent's context.
4. When you ask for something that service covers, the agent loads the matching skill from the teleport catalog, reads the env var (sourced by your shell), and hits the REST API.

Reversible at any time:

```bash
claude mcp enable <name>
```

## Design notes

- **Disable, don't delete:** `disabledMcpServers[]` keeps the config intact - enable any server again with one command.
- **Credentials never echo:** the credential check uses `[ -n "$VAR" ] && echo PRESENT || echo MISSING` so values never leak to the transcript.
- **Imperative skill guidance:** when a credential is missing, the skill instructs the agent to respond with a specific `teleport-setup add-key <service>` message verbatim - no paraphrasing, no suggestions to hand-edit `settings.local.json`.
- **No runtime deps beyond `curl`, Python 3.10+, and Claude Code.**

## Caveats

- **Claude Code only.** Leans on Claude (Sonnet/Opus) knowing the popular REST APIs. Smaller or weaker models - local LLMs, other cloud providers - won't work the same way. For obscure APIs the skill contains the curl recipe so the model's prior knowledge matters less; but the baseline assumption is Claude Code + Sonnet or Opus.
- Self-contained skills that need Python packages, browsers, or system tools still require those installed locally.
````
