Skip to content

phase-flowie

The /flowie command manages the user's personal identity layer โ€” a private GitHub repository containing their research profile. This skill defines how Claude should read, update, and apply that profile across all neuroflow phases.

What the flowie profile contains

The flowie profile lives in .neuroflow/flowie/ and consists of three files:

File Contents
profile.md Research identity: name, domain, methodological preferences, writing style, stances, key beliefs
ideas.md Ongoing ideas and hypotheses that span multiple projects
sync.json GitHub repo URL, last sync timestamp, list of linked projects

The profile is private by design. It lives in a private GitHub repository and is never included in project exports or any output intended for external readers.

Reading the profile

At the start of any command session, if .neuroflow/flowie/profile.md exists and the current project is linked to flowie (indicated by a flowie_project field in project_config.md), read the profile silently.

Do not announce that you are reading the profile. Do not quote it back verbatim. Use it to inform the quality and character of your assistance without drawing attention to the mechanism.

If the profile does not exist or the project is not linked, proceed as normal โ€” flowie is optional.

Using the profile in other phases

When assisting in any neuroflow phase, apply the profile as follows:

In /ideation

  • Frame suggestions around the user's known research domain and beliefs
  • If a proposed idea conflicts with a stated stance, flag it explicitly rather than suppressing it
  • Use the ideas.md file as a starting point โ€” the user's cross-project hypotheses may be relevant

In /paper

  • Apply the user's documented writing style throughout โ€” density, hedging patterns, register
  • Do not override the user's voice with generic academic prose
  • If a section sounds unlike the user, say so and ask whether to adjust

In /data-analyze

  • Apply the user's known methodological preferences โ€” e.g. if they prefer Bayesian inference, frame statistical options Bayesian-first
  • If a method conflicts with a documented stance, note the tension and ask before proceeding

In /experiment

  • Use the user's preferred paradigm and recording modality as defaults when not specified
  • Do not assume โ€” confirm โ€” but use profile context to suggest sensible starting points

In all phases

  • Match the user's register and level of technical density in your responses
  • If a stated belief or stance is relevant to the current decision, surface it: "Your profile notes that you prefer preregistration before data collection โ€” does that apply here?"
  • Never be sycophantic about it. Surface it once, do not repeat.

Write rules for .neuroflow/flowie/

These rules apply whenever the /flowie command or any other command writes to .neuroflow/flowie/:

  1. Never overwrite without showing a diff first. Before writing to profile.md or ideas.md, show the proposed changes as a diff and wait for explicit confirmation.
  2. Always read before writing. Load the current file content before computing the new version.
  3. Do not truncate. When updating a section, preserve all other sections exactly as they are.
  4. Log every write. Every file write to .neuroflow/flowie/ must be followed by a session log entry.
  5. Never write to flowie/ from a non-flowie command. Other phase commands may read the profile, but only /flowie may write to .neuroflow/flowie/.

GitHub sync protocol

The flowie profile is mirrored to a private GitHub repository. The sync protocol is:

  1. Always pull before push. Never push local changes without first checking for remote updates.
  2. Show the diff before applying. When a pull brings in changes, show what changed and ask for confirmation before applying.
  3. Handle merge conflicts explicitly. If local and remote have diverged, show both versions side by side. Do not silently pick one. Ask the user to resolve each conflict.
  4. Update last_synced only on success. If the push fails (auth error, network issue), do not update the timestamp. Report the error clearly.
  5. Never push to any repo other than the one in sync.json. Confirm the repo URL before any push operation.
  6. Respect gh CLI availability. Use the following order for auth and fetch operations: (1) try gh auth status โ€” if authenticated, use gh CLI; (2) if not, try git clone --depth 1 directly (works when the user has standard git credentials configured); (3) only fall back to raw git + PAT if both of the above fail. Do not attempt additional gh diagnostics between steps 1 and 2.

Privacy rules

  • The profile is stored in a private GitHub repository. Never suggest making it public.
  • Profile data must never appear in outputs intended for external readers โ€” papers, reports, grant proposals, talk slides.
  • When generating any external-facing document, treat profile data as context only โ€” do not quote stances or beliefs in the output.
  • If a project is being exported (via /export), .neuroflow/flowie/ is excluded by default. Confirm explicitly before including it.

Wellbeing tracking

The flowie repo contains a wellbeing/ folder for daily self-assessments. The feature is opt-in (collect: false by default) and enabled either during --init or via /flowie --assess.

Structure: - wellbeing/config.json โ€” collect flag, metric definitions (anxiety/energy/happiness 1โ€“10), prompt_on_sync flag - wellbeing/YYYY-MM-DD.json โ€” one entry per day with integer scores and optional free-text notes

When to prompt: On any write operation (--sync, --link, --tasks --add, --projects --add), check if collect: true and today's entry is missing. If so, run --assess inline before proceeding. Do NOT prompt during read-only modes (--view, --identify, --credentials).

Scale: 1โ€“10 with 5 as the neutral baseline. For anxiety: 10=very high anxiety. For energy and happiness: 10=very high.

Enabling mid-session: Running /flowie --assess when collect: false will offer to enable tracking before collecting the entry.

Notes sync

After every /notes session, the command offers to copy the formatted note to .neuroflow/flowie/notes/ (default: yes, controlled by sync_to_flowie in .neuroflow/notes/config.json). The existing auto-sync hook pushes to GitHub. The notes/ folder in flowie acts as a cross-project note archive.

Personal wiki

The flowie repo also contains a wiki/ folder โ€” a Karpathy-style personal knowledge base maintained by the LLM. All wiki operations are handled by the neuroflow:wiki skill, which defines page formats, ingest/query/lint/add workflows, and neuroflow-specific integrations.

When to surface the wiki unprompted:

  • After any /ideation or /search paper list: remind the user they can ingest papers with /flowie --wiki-ingest
  • After any /notes session: remind the user they can extract insights with /flowie --wiki-ingest
  • After major phase completions (data-analyze, paper): ask whether the user wants to synthesize key findings into the wiki
  • When writing a synthesis or analysis that spans multiple projects: ask whether to file it in the wiki

Wiki structure (at a glance):

.neuroflow/flowie/wiki/
โ”œโ”€โ”€ index.md       โ† catalog of all pages
โ”œโ”€โ”€ log.md         โ† append-only operation log
โ”œโ”€โ”€ schema.md      โ† LLM operating guide for this wiki
โ”œโ”€โ”€ raw/           โ† immutable source documents
โ””โ”€โ”€ pages/
    โ”œโ”€โ”€ concepts/  โ† topic pages
    โ”œโ”€โ”€ entities/  โ† people, tools, datasets
    โ”œโ”€โ”€ sources/   โ† one page per ingested source
    โ”œโ”€โ”€ synthesis/ โ† cross-source analysis
    โ””โ”€โ”€ methods/   โ† protocols, pipelines, analysis methods

For full wiki behavior, always load neuroflow:wiki when handling --wiki-* modes.

Slash command

When this skill is invoked directly (without /flowie), run the full /flowie workflow โ€” show the mode menu and proceed from there. Mention /neuroflow:flowie at the end.

Relevant skills

  • neuroflow:neuroflow-core โ€” read first; defines the command lifecycle and .neuroflow/ write rules
  • neuroflow:wiki โ€” full wiki behavior for all --wiki-* modes
  • neuroflow:phase-output โ€” flowie directory is excluded from exports by default