AgentStack
SKILL verified MIT Self-run

Pneuma Project

skill-pandazki-pneuma-skills-pneuma-project · by pandazki

Project-context awareness — multi-session workflows around one topic, shared materials and preferences, and cross-mode handoffs as a high-value user path.

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-pandazki-pneuma-skills-pneuma-project

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Pneuma Project? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

You're inside a Pneuma project

A Pneuma project is the user's organizational unit for one ongoing topic — think "Brand identity for a startup", "Marketing site for a product launch", "Pitch package for a Series A". Inside one project, the user runs multiple sessions in different modes that all contribute to the same goal: a session in illustrate produces brand visuals, a session in webcraft builds the marketing site, a session in slide writes the pitch deck. They share materials, share preferences, and can hand off context to each other.

You are one of those sessions. The work you do here is part of a larger arc, not a standalone exercise. Approach the conversation with that in mind.

Where you live, where the project lives

Two paths matter, both injected as env vars:

  • $PNEUMA_PROJECT_ROOT — the user's project directory. Final deliverables go here. Websites, decks, videos, docs the user will actually use — they all land in this directory or its subfolders.
  • $PNEUMA_SESSION_DIR — your private working area, also your CWD. Drafts, scratch notes, internal state, intermediate artifacts. Don't write deliverables here.

Project metadata lives at $PNEUMA_PROJECT_ROOT/.pneuma/project.json. Read it for project identity and description. Don't edit it casually — that's the project's identity, the user manages it.

Project meta — what the launcher / project chip read

The project's user-visible identity (name, description, icon) lives in two recognized files under $PNEUMA_PROJECT_ROOT/.pneuma/. Treat these as the only project-meta surface — the launcher and the in-app project chip read exactly these paths and nothing else, so guesses like icon.png, cover.svg, or meta.json will silently do nothing.

project.json — manifest

Schema:

{
  "version": 1,
  "name": "pneuma-demo-project",
  "displayName": "Pneuma Demo Project",
  "description": "...optional, shown under the title in the project chip and launcher card...",
  "createdAt": 1740000000000
}
  • name is the directory-derived slug. Don't change it.
  • displayName and description are user-facing; you may refine them when the user explicitly asks ("update the project description to X"). Otherwise leave them alone.
  • version and createdAt are runtime fields. Don't touch.
  • The launcher hot-reloads this file via chokidar — saving the JSON updates the UI within ~1s, no restart needed.

cover.png — project icon

Strict rules:

  • Exact path: $PNEUMA_PROJECT_ROOT/.pneuma/cover.png. Anything else (icon.png, cover.jpg, cover.svg, cover@2x.png, or a copy at the project root) is not recognized — the launcher falls back to a generated dotted-letter cover.
  • PNG only. No JPEG / SVG / WebP fallback exists.
  • Square is best. Rendered inside a square frame with object-fit: cover, so non-square inputs get cropped on the longer axis. Generate at 512×512 or larger; the runtime resizes for display.
  • Hot-reload. The server watches .pneuma/ and re-serves the cover with mtime-based caching, so overwriting the file shows up in the UI within a second. The cover lives outside any session's shadow git, so iterating is a plain file overwrite — there's no per-turn checkpoint to revert through.
  • Don't write to $PNEUMA_PROJECT_ROOT/.pneuma/sessions//thumbnail.png thinking it's the project icon — that's the per-session viewer thumbnail, scoped to your own session, not the project.

If the user asks you to "make a project icon / cover / logo" and you produce an image (typically inside illustrate, draw, kami, or another image-producing mode), save the final asset to $PNEUMA_PROJECT_ROOT/.pneuma/cover.png and confirm the path back to the user. Don't drop it in your session dir — that won't be picked up.

The Project Atlas — your canonical briefing

If your CLAUDE.md contains a ... block, the project has been atlas-seeded. The block is a pointer, not the briefing itself — the runtime keeps your prompt lean by not inlining the atlas file every turn.

On session start (or your first action of substance), Read $PNEUMA_PROJECT_ROOT/.pneuma/project-atlas.md. Treat its contents as authoritative for:

  • What this project is, who its audience is, what's in scope
  • Project-wide conventions, file structures, naming rules
  • Locked-in design / technical decisions ("anchors")
  • Open threads the user has flagged

Use the atlas before re-asking the user. If it already states the brand color or the deliverable directory, don't ask — just use it.

You don't need to re-Read the atlas every turn — once is enough for a session unless the user signals it changed (e.g. "I just refreshed the atlas"). If the file isn't where the pointer says, the project layer is misconfigured; mention it.

The atlas is maintained by the project-evolve mode (Project chip's Evolve sparkle). Never edit project-atlas.md yourself unless the user explicitly asks; let them trigger an evolution pass when the project context shifts. If you notice the atlas is missing details that would help your work, flag the gap — don't fabricate the missing parts.

If no pneuma:project-atlas block is in your CLAUDE.md, the project hasn't been atlas-seeded yet. That's normal for fresh projects — work from project.json + the user's prompt instead, and you can suggest "we could run project-evolve to seed an atlas if this becomes a multi-session effort."

You have siblings

The user may have other sessions in this project, running now or completed earlier. They live at $PNEUMA_PROJECT_ROOT/.pneuma/sessions//. List them with ls $PNEUMA_PROJECT_ROOT/.pneuma/sessions/.

Don't read inside other sessions' directories. Their history.json, shadow.git/, scratch — that's their workspace, not yours. If you need context from a sibling, it should come through one of:

  1. Files the sibling produced under $PNEUMA_PROJECT_ROOT/ — shared assets, shared deliverables. These are the project's common ground.
  2. Project preferences (next section).
  3. A handoff — explicit, structured context handoff. See "Handoffs" below.

This isolation isn't bureaucratic. It keeps each session focused, and makes the handoff the explicit, visible path for moving work between modes — which is exactly the user-facing feature.

Project preferences

$PNEUMA_PROJECT_ROOT/.pneuma/preferences/ holds project-scoped preferences. Same schema as personal preferences in ~/.pneuma/preferences/, but scoped to this project:

  • profile.md — cross-mode project preferences
  • mode-{name}.md — per-mode project preferences (create on demand)
  • ... — hard constraints, auto-injected into your CLAUDE.md pneuma:project block at session start
  • ... — your update log

When updating: read first, then full-rewrite (last-writer-wins). Project preferences belong to this project — they're not generalizable to the user's other work. Personal preferences live in ~/.pneuma/preferences/ and are managed by the pneuma-preferences skill.

Conflict policy: when project preferences contradict personal preferences, follow the project preference and tell the user once with a brief reason ("project says X; personal says Y; going with project for this session").

How you got here — the `` start signal

Every session starts with an environment-context message injected into your chat as the first user-side turn. It looks like:

or:

or, if you were spawned from an explicit Smart Handoff:

/.pneuma/inbound-handoff.json" />

The inbound_path attribute on the handed-off form points at the raw structured payload on disk. You usually don't need to read it — the pneuma:handoff block in your CLAUDE.md already carries the parsed content as a system briefing. Reach for inbound_path only when you need the original JSON (e.g. to iterate suggested_files precisely, or to verify a field that the CLAUDE.md formatting elided).

reason semantics — adjust your behavior accordingly:

  • opened — fresh start. The user opened a new session; there's no precursor. Reply once, with one short sentence, and stop. State the mode is ready and you're waiting for the user. Don't repeat yourself across multiple turns ("ready", "standing by", "let me know"). Don't dump capabilities. Don't probe with tool calls. Wait for the user.
  • switched — the user clicked over from a sibling session in the same project, without doing a Smart Handoff. They didn't ask the previous session to prepare context for you, but they're clearly working on the same project. Your job: decide based on their next message whether to mine the project for related work.
  • If their next message implies continuity (e.g. "continue what we were doing", "follow up on the brand", "use that palette"): scan $PNEUMA_PROJECT_ROOT/ for relevant deliverables (the previous session's outputs would have been promoted there). Mention what you found.
  • If their message is unrelated or starts something new: don't mine. Just work on what they asked.
  • Don't read $PNEUMA_PROJECT_ROOT/.pneuma/sessions// internals — that's the previous session's private workspace. Cross-session context flows through deliverables in the project root, not by snooping.
  • If the user implies continuity but you can't find anything in the project root, say so plainly: "I don't see deliverables from the previous session in the project root yet. Want me to start fresh based on what you tell me, or should I wait for them to be promoted?"
  • handed-off — Smart Handoff was used and the previous session prepared a structured payload for you. Your CLAUDE.md will also contain a pneuma:handoff block with intent / summary / suggested files / decisions / open questions. Treat that block as authoritative; see "Receiving a handoff" below.

The `` tag is informational, not directive. You don't need to acknowledge it explicitly in your reply — just let it shape your first response. Reply to whatever the user actually said next, with awareness of how you got here.

Handoffs — moving work between sessions

Because a project is multi-session by design, the user often wants to take what you've built here and continue in a different mode. That's a handoff: you summarize the state, the system shows the user a review, and a sibling session — new or existing — picks up with your context loaded in.

This is a high-value user path, not a side feature. The user explicitly chose multi-session over a single megasession because the task spans multiple modes. Handoffs are how the modes connect. Treat handoff preparation as a first-class step of your work.

Two directions matter to you: emitting a handoff (someone — usually you — is leaving for another mode) and receiving one (you were spawned with an inbound handoff).

Emitting a handoff

The user triggers an outbound handoff via the UI's Smart Handoff control. You'll see a chat message arrive that looks like:

This is your cue to prepare a structured handoff for the target. Think hard about what the target needs:

  • What's the user's current intent? Often an elaboration of the intent from the tag — refine it with what you know.
  • What progress has been made here that the target should know? Files produced, decisions locked in, mood and aesthetic established.
  • What files should the target read first? Be specific — paths relative to $PNEUMA_PROJECT_ROOT. Order them by importance.
  • What's already decided? Aesthetic, technical, scope decisions the target shouldn't relitigate.
  • What's still open? Things you didn't decide; let the target judge or ask the user.

Once you've organized that context, call the handoff CLI through the $PNEUMA_CLI env var. This is the system function that hands the payload to Pneuma. The env var resolves to the right invocation regardless of how Pneuma was installed (production npm-install or dev worktree); writing the literal pneuma handoff only works when the binary is on PATH, so always prefer $PNEUMA_CLI. The command reads JSON from stdin or the --json flag:

$PNEUMA_CLI handoff --json '{
  "target_mode": "webcraft",
  "target_session": "auto",
  "intent": "Build a one-page landing site from this brand identity",
  "summary": "Created a brand identity with serif logo (Fraunces), warm orange palette anchored on #f97316, and an editorial photo treatment. Brand voice: confident, restrained, technical.",
  "suggested_files": [
    "brand/logo.svg",
    "brand/palette.md",
    "brand/voice.md"
  ],
  "key_decisions": [
    "Single-page scroll, no nav",
    "Serif/sans pairing locked: Fraunces + DM Sans",
    "Hero image style: warm, editorial, not stock"
  ],
  "open_questions": [
    "What's the primary CTA copy?",
    "Sign-up form or email-only capture?"
  ]
}'

Field reference:

| Field | Required | Notes | |---|---|---| | target_mode | yes | Mode name (e.g. webcraft, slide, doc) | | target_session | no | Existing session id to resume into; auto or omit to spawn fresh | | intent | yes | One sentence — what the target should accomplish | | summary | recommended | A few sentences on what's done in this session | | suggested_files | recommended | Ordered list of $PNEUMA_PROJECT_ROOT-relative paths the target should read first | | key_decisions | optional | What's locked in — saves the target from relitigating | | open_questions | optional | What's still open — gives the target permission to decide or ask |

What happens after you call $PNEUMA_CLI handoff

Pneuma takes your payload and shows the user a review card with your intent, summary, suggested files, decisions, and open questions. The user reads it and either:

  • Confirms the switch → Pneuma kills your session and spawns the target with your payload as its inbound handoff. Your conversation here ends.
  • Cancels → They reconsidered, or want you to refine first. You'll see a chat message:

`` " /> ``

When you see the cancel tag: continue the conversation naturally. Don't be defensive about your handoff; the user is the decider. If they have feedback ("the summary missed the typography decisions"), incorporate it. When they're ready, they'll trigger Smart Handoff again. You don't need to re-call $PNEUMA_CLI handoff until then.

One handoff at a time

Don't call $PNEUMA_CLI handoff autonomously — wait for the `` tag. Don't call it twice for the same request. If the user wants to switch back to this mode later, they'll do another Smart Handoff from there.

Receiving a handoff

If you were spawned because someone handed off to you, your CLAUDE.md will contain a pneuma:handoff block with the inbound payload, formatted like:


**Inbound from ** (session )

**Intent**: 

**Summary**: 

**Suggested files** (read in order):
- `path/to/file.ext` — why
- ...

**Decisions already locked in**:
- ...

**Open questions**:
- ...

Treat this as a system briefing. Its content takes precedence over your default mode skill for the immediate task. Your first move:

  1. Read the suggested files in order. Internalize the source's context before you say anything.
  2. Acknowledge the handoff in your first reply. Show the user you understand where the previous session left off — quote a key decision, reference a specific file. Don't act like a fresh session.
  3. Address the open questions — either propose answers or ask the user. Don't silently inherit ambiguity.
  4. Then start the actual work.

Don't ignore an inbound handoff. The user explicitly asked for this transition; they expect continuity, not amnesia.

Borrowing — delegating a bounded sub-task to another mode

A handoff is a goto: you leave, the target takes over, control doesn't come back. A borrow is a subroutine call: you stay live and in the foreground, you lend out one bounded

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.