# Pstack routing

> Pstack routing is an open-source agent skill for developer tools. Makes the agent read pstack's poteto-mode skill first and follow its routing. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/michael-denyer/pstack-claude/tree/main/plugins/pstack/grok/skills/pstack-routing
- **Repository:** https://github.com/michael-denyer/pstack-claude
- **GitHub stars:** 5,057
- **License:** MIT
- **Skill name:** pstack-routing
- **Collection:** https://github.com/michael-denyer/pstack-claude
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Pstack routing is a small entry-point skill from the pstack plugin, written for Grok Build. It acts as a dispatcher: before the agent starts a task, it is told to open the plugin's poteto-mode skill and apply whatever routing instructions that skill defines.

The skill itself contains no routing logic. It points to `skills/poteto-mode/SKILL.md`, which holds the actual rules. In Grok Build, plugin skill paths appear in the session's skills list, and the agent uses `read_file` to open the poteto-mode path shown there.

It ships as a single SKILL.md with no scripts and no extra reference files. It needs the rest of the pstack plugin installed so the poteto-mode skill exists to be read.

## When your agent uses it

> On every task, read pstack's poteto-mode skill first and follow its routing instructions when applicable.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/grok/skills/pstack-routing)
- [License: MIT](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/grok/skills/pstack-routing)

## Features

- **Routing entry point:** Sends the agent to pstack's poteto-mode skill at the start of each task.
- **Conditional routing:** Poteto-mode's routing instructions are followed only when they apply to the task.
- **Grok Build path lookup:** Uses the plugin skill paths listed in the session's skills list to find poteto-mode.
- **File-read based:** Relies on the agent's `read_file` tool, with no scripts or external services.
- **Minimal footprint:** A single SKILL.md file that only delegates to another skill.

## Good for

- Have every Grok Build task start from pstack's routing rules
- Keep routing logic in one skill while a thin wrapper triggers it
- Install the pstack plugin and get consistent skill selection across tasks

## Install

### Claude Code

This skill ships in the `pstack` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Or copy only this skill to `~/.claude/skills/pstack-routing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pstack-routing &&
cp -R "$tmp/plugins/pstack/grok/skills/pstack-routing" ~/.claude/skills/pstack-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/pstack-routing` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pstack-routing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pstack-routing &&
cp -R "$tmp/plugins/pstack/grok/skills/pstack-routing" ~/.agents/skills/pstack-routing &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/pstack-routing` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pstack-routing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pstack-routing &&
cp -R "$tmp/plugins/pstack/grok/skills/pstack-routing" ~/.cursor/skills/pstack-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pstack-routing` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/grok/skills/pstack-routing
```

Or copy the folder to `~/.gemini/skills/pstack-routing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/pstack-routing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pstack-routing &&
cp -R "$tmp/plugins/pstack/grok/skills/pstack-routing" ~/.copilot/skills/pstack-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/pstack-routing` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git
```

Then copy `pstack-claude/plugins/pstack/grok/skills/pstack-routing` into your agent's skills folder as `pstack-routing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Pstack routing contain the routing rules?

No. It only tells the agent to read the plugin's poteto-mode SKILL.md and follow the routing instructions there.

### How does the agent find poteto-mode?

Grok Build lists plugin skill paths in the session's skills list, and the agent opens the poteto-mode path with `read_file`.

### Does Pstack routing run scripts?

No. The folder contains a single SKILL.md and no scripts.

### When does Pstack routing apply?

Its description says it applies on every task, with the poteto-mode routing followed when applicable.

### How do I install Pstack routing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pstack-routing to use it in all your projects, or to .claude/skills/pstack-routing in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.

### Which AI agents can use Pstack routing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Pstack routing?

The closest alternatives to Pstack routing are Poteto help, Setup pstack, Poteto mode, Using knowledge patch and Mt guide.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Poteto help](https://ai-powered.com/skills/poteto-help): Poteto help is an open-source agent skill for developer tools.
- [Setup pstack](https://ai-powered.com/skills/setup-pstack): Setup pstack is an open-source agent skill for developer tools.
- [Poteto mode](https://ai-powered.com/skills/poteto-mode): Poteto mode is an open-source agent skill for developer tools.
- [Using knowledge patch](https://ai-powered.com/skills/using-knowledge-patch): Using knowledge patch is an open-source agent skill for developer tools.
- [Mt guide](https://ai-powered.com/skills/mt-guide): Mt guide is an open-source agent skill for developer tools.
- [Using praxis](https://ai-powered.com/skills/using-praxis): Using praxis is an open-source agent skill for developer tools.
- [Load profile](https://ai-powered.com/skills/load-profile): Load profile is an open-source agent skill for developer tools.
- [Agent skill stack](https://ai-powered.com/skills/agent-skill-stack): Agent skill stack is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/pstack-routing
