/poseidon-local:poseidon-plan [owner/repo] <issue> [site:<blog-id>]from poseidon-local
Runs the Poseidon planning agent on a GitHub issue locally in the current session. Fetches live upstream plan instructions, reads the issue, gathers site context via team51 MCP, and posts an architecture-level plan comment.
Ships in poseidon-local. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Local, in-session port of the Poseidon issue-plan agent. It does not ship a
copy of the Poseidon instructions — it fetches them live from
a8cteam51/poseidon-actions@trunk every run, so you always match the deployed
version. It then follows those instructions with a thin set of local overrides,
running on the model you've selected with no turn cap.
$ARGUMENTS, one of:
45 — issue #45 in the current directory's repo.a8cteam51/some-repo 45 — explicit repo + issue.site:<blog-id> to pass the production WordPress Blog ID for
MCP site lookups (e.g. site:212289766).Requires gh authenticated with access to a8cteam51/poseidon-actions (to fetch
the instructions) and to the target repo (to read the issue and post the plan).
For site-specific tickets, the team51 MCP server.
Resolve OWNER/REPO, issue number N, and optional Blog ID from
$ARGUMENTS (bare N → gh repo view --json nameWithOwner -q .nameWithOwner).
Fetch the live upstream instructions:
mkdir -p /tmp/poseidon
gh api repos/a8cteam51/poseidon-actions/contents/issue-plan/action.yml \
-H "Accept: application/vnd.github.raw" > /tmp/poseidon/issue-plan.action.yml
If this fails (e.g. 404 / no access to the private repo), STOP and tell the user — do not fall back to remembered or guessed instructions.
Read /tmp/poseidon/issue-plan.action.yml. The Run Claude Code step
carries TWO instruction blocks — extract and follow BOTH:
prompt: input — the task itself (issue framing, comments pointer,
Blog ID guidance);--append-system-prompt "<PROMPT>" value inside claude_args — your
authoritative operating contract.
Read both in full and follow them exactly, with the local overrides
below. You are NOT executing the YAML's steps; you only extract and follow
those two embedded prompts. If the fetched file no longer matches this
layout, find the embedded prompts wherever they now live, follow them, and
tell the user the upstream layout changed.Apply these LOCAL overrides (they win wherever they conflict with the upstream prompt, which is written for CI):
${{ steps.prep.outputs.issue }} = N; ${{ inputs.issue_title }} /
${{ inputs.issue_body }} = the real title/body from
gh issue view N --repo OWNER/REPO --json title,body,labels;
${{ steps.comments.outputs.questions_asked }} = the count of existing
### 🔱 Poseidon — clarifying questions comments on the issue. The
production Blog ID the CI passes in the prompt is whatever you parsed from
site:<blog-id> (or empty if not given); treat the Pressable site URL
input as empty (the upstream lookup sequence resolves the URL via wpcom)./tmp/poseidon-issue-comments.md and /tmp/poseidon-prior-questions.md. They
don't exist locally. Instead fetch
gh api repos/OWNER/REPO/issues/N/comments --paginate once and derive both,
using the upstream's own filters:
user.type is not Bot and whose body does
not start with ### Poseidon plan;### 🔱 Poseidon — clarifying questions, regardless of author (in CI
these are bot-posted, so don't let the bot filter hide them).gateway MCP
server (mcp__gateway__load-provider / mcp__gateway__execute-tool). That
server does NOT exist locally. Use the local team51 MCP instead — it
exposes per-service tools, so call mcp__team51__wpcom_* and
mcp__team51__pressable_* directly, with no load-provider/execute-tool
step. For project-P2 search use the context-a8c MCP — that one IS a
load-provider/execute-tool gateway, so load its wpcom provider first,
then execute-tool. If a tool is denied or unavailable, note it and continue.### Poseidon plan because CI prepends
that header — locally YOU prepend it: first line ### Poseidon plan, blank
line, then the plan. Write it to a temp file, then
gh issue comment N --repo OWNER/REPO --body-file <file>. Override any upstream
line that says the workflow posts it or that you must not post it yourself.
(The exact header matters: /poseidon-implement finds the plan by it.)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub a8cteam51/claude-code-plugins --plugin poseidon-local