pstack: support fx as a harness

Open
#1,013 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
22/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
markdown
Domain
documentation

Research direction

This is a design question first: the maintainer has to pick between an fx adapter doc at pstack/docs/harness/fx.md, a generated harness/pstack/fx tree, or a harness-neutral adapter line. Start by reading the existing Claude Code adapter and harness/pstack/claude-code skills tree alongside the Codex findings in #734 and the generator proposal in #953 to see which shape already has groundwork. Do not start writing until a shape is chosen; done means one adapter path accepted and documented.

Written by the indexing model from the issue text.

Description

I'd like to use pstack in fx (https://fx.sh), a terminal coding agent from Vercel. fx reads standard SKILL.md folders, so most of pstack loads already. A few gaps stop poteto-mode from working as written.

What I tested

pstack 0.15.34 (519d36a), fx 0.0.15, macOS. I ran fx ask from inside harness/pstack/claude-code, so fx found the tree's skills/ folder as workspace skills. Nothing was installed globally.

  • Works: all 58 skills show up in fx's skill catalog and load in full, including poteto-mode, how, and setup-pstack.
  • fx ignores disable-model-invocation. 57 of 58 skills set it, so fx can pick any of them on its own.
  • 23 skills start with "In Claude Code, read the Claude Code adapter". An fx agent can take that as not applying to it. fx's skill tool also refuses ../../docs/harness/claude-code.md as a skill resource (InvalidSkillResourcePath) because the path points outside the skill folder.
  • The Cursor names have no fx mapping: Task, subagent_type (poteto-agent, comment-sicko, generalPurpose), readonly, AskQuestion, todo lists, and pstack-models.mdc.

How the Cursor names map to fx

  • Task: fx's subagent tool, either a one-off run or a named persistent agent. It takes a model and effort per child. There is no subagent_type, and fx subagents cannot spawn their own subagents.
  • poteto-agent and comment-sicko: fx has no agent files. The equivalent is a subagent whose brief says to read the agent's markdown first.
  • readonly: true: fx has no documented read-only flag, so the brief says "do not edit files".
  • AskQuestion: ask_user_question.
  • Todo lists: fx has no todo tool, so the list lives in the reply.
  • Rules: AGENTS.md. Skills: ~/.fx/skills or .fx/skills.
  • Cursor-only features (Bugbot, Automations, cloud agents, /loop, custom modes): skip with a one-line note, as the Claude Code adapter does.

Question

Which shape would you accept?

  1. An fx adapter (pstack/docs/harness/fx.md) plus README steps that point fx at the existing claude-code tree, like the Codex findings in #734.
  2. A generated harness/pstack/fx tree, built on the multi-harness generator in #953.
  3. A harness-neutral adapter line in place of "In Claude Code, read...", so one tree can serve several harnesses.

I can open the PR for whichever you prefer.

Related: #601, #734, #953, #237

Dominant language
TypeScript
Stars
18.2k
Forks
2k
Avg merge
3h 56m
Merged PRs (30d)
96

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cursor/plugins

All issues in cursor/plugins

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.