skills/phase-hive/SKILL.md
Team-level knowledge layer for neuroflow. Connects a researcher's personal neuroflow project to a shared GitHub organisation repo for team identity, research directions, projects registry, knowledge base, meetings, tasks, and cross-project ideas. Never automatically copies personal project data — all sharing is explicit.
npx skillsauth add stanislavjiricek/neuroflow phase-hiveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Hive is the team-level counterpart to flowie. Where flowie is the personal research OS (private, per-researcher), Hive is the shared lab OS (visible to all team members).
Privacy rule (enforced absolutely): Nothing from a personal .neuroflow/ project is ever automatically sent to Hive. Every share is an explicit, intentional action. The Hive is a shared workspace, not a surveillance layer.
{org}/{hive-repo}/
├── hive.md ← team identity, norms, and active research directions
├── members.md ← team roster: name, email, github, role
├── ideas.md ← cross-project team hypotheses and open questions
├── sync.json ← sync metadata: last pull per member, last push timestamps
├── projects/ ← lab project registry (same structure as flowie/projects/)
│ ├── projects.json
│ └── {id}.md
├── tasks/ ← team Kanban board (same structure as project tasks)
│ ├── inbox/
│ ├── ready/
│ ├── active/
│ ├── review/
│ ├── meeting/
│ ├── done/
│ └── archive/
├── meetings/ ← team meeting files (created by /meeting --level hive)
│ └── config.json
└── wiki/ ← team knowledge base (same structure as flowie wiki)
├── index.md
├── log.md
├── schema.md
├── raw/
└── pages/
hive.md — team identity, norms, and directions (replaces old hive.md + directions.md):
# {Team name}
{Team description — what the lab studies, approach, values}
## Norms
{collaboration norms, code standards, data policies}
## Active research directions
{Directions as bullet list or ## subsections — maintained by PI/leads}
members.md — team roster with contacts for meeting invitations:
# Team Members
| name | email | github | role |
|------|-------|--------|------|
| {name} | {email} | {handle} | {PI/researcher/student} |
ideas.md — lab-wide cross-project hypotheses (analogous to flowie/ideas.md but team-level):
# Team Ideas
Open hypotheses, cross-project questions, and speculative directions the lab is exploring.
---
projects/projects.json — machine index of all lab projects (same schema as flowie projects):
{ "projects": [ { "id": "...", "description": "...", "current_phase": "...", "status": "..." } ] }
Hive data is cached at the user level — not inside any project repo.
~/.neuroflow/hives/{org-repo}/
├── hive.md ← local copy of team identity + directions
├── members.md ← local copy of team roster
├── ideas.md ← local copy of team ideas
└── sync.json ← hive_repo URL, last_pull, last_push, member_handle
One cache folder per hive the user belongs to. Created by /hive --init. Never committed to any project repo.
--initConnect the current neuroflow project to a Hive repo for the first time.
Check flowie profile first: if ~/.neuroflow/flowie/profile.md exists and contains a hives: list, show it as a picker before asking freeform:
Your flowie profile lists these hives:
[1] acme-neuroscience/hive-lab
[2] another-org/hive-research
[3] Enter a different repo
If the user picks one, pre-fill the org/repo. Otherwise ask freeform.
Ask for the GitHub org and repo name: {org}/{hive-repo}
Ask for the researcher's GitHub handle (used as member_handle in sync.json)
Check if the hive repo already exists (via gh CLI or GitHub API)
If joining an existing hive repo:
hive.md, members.md, and sync.json~/.neuroflow/hives/{org-repo}/ with local copies + initial sync.json.neuroflow/flow.md + project_config.mdhive.md and members from members.mdIf creating a new hive repo:
## Active research directions in hive.mdmembers.mdgh repo create {org}/{hive-repo} --private--syncPull latest state and show a digest of what changed since last pull.
git -C (local hive cache) log --oneline or note last_pull timestamphive.md, members.md, ideas.md, and sync.json from hive repo~/.neuroflow/hives/{org-repo}/ copiessync.json with last_pull: [timestamp]Hive sync — 2026-04-20 10:00
─────────────────────────────
directions: 1 new (Alpha modulation → fMRI feasibility)
members: no changes
ideas: 2 new entries
wiki: 3 pages updated, 1 new (method: ICA pipeline)
tasks: 2 new in inbox, 1 moved → done
─────────────────────────────
--viewDisplay current local Hive state without syncing.
~/.neuroflow/hives/{org-repo}/hive.md and members.mdsync.json for last sync timestamp"Run /hive --sync to fetch the latest updates."--membersView and edit the team roster.
members.md from hive repo (pull first)members.md, push to hive repo--projectsView and manage the lab project registry (analogous to /flowie --projects).
projects/projects.json from hive repo--projects --add to register a new lab project (asks id, description, repos, current phase, status)--ideasView and append to lab-wide cross-project ideas.
ideas.md from hive repoideas.md, push--tasksRead and manage the team Kanban board at {hive-repo}/tasks/. Same ASCII box rendering rules as /flowie --tasks --level hive. Tasks get level: hive and responsible: @name in frontmatter. Pull first, push after writes. Supports --tasks, --tasks --list, --tasks --add, --tasks --move, --tasks --done.
--recommendGet team-aware recommendations for the current project phase.
hive.md (directions section) and members.mdproject_config.mdwiki/ for relevant methods and synthesis pages (search index.md)ideas.md that connect to this project--wiki, --wiki-ingest, --wiki-query, --wiki-lint, --wiki-add, --wiki-schemaOperate on the hive-level team wiki at {hive-repo}/wiki/. Load neuroflow:wiki skill with level: hive. Same modes as /flowie --wiki-* but all git operations target the hive repo. This replaces the old shared/ folder — use --wiki-ingest to contribute findings, methods, and literature to the team knowledge base.
When a new team member joins a project that already has neuroflow set up, they follow this sequence:
.neuroflow/ is present (tasks/, notes/, project_config.md are all git-tracked)/neuroflow — detects existing .neuroflow/project_config.md, shows current state, prompts for their own name and flowie setup/flowie — set up or link their own private flowie profile; clones to ~/.neuroflow/flowie/ (each collaborator has a separate private flowie repo, never inside the project)/hive --sync — pull team directions, member list, and shared content; cached to ~/.neuroflow/hives/{org-repo}/What is shared vs. private:
| Path | Shared in project repo? |
|------|------------------------|
| .neuroflow/project_config.md | Yes — shared context for all |
| .neuroflow/tasks/ | Yes — shared project Kanban |
| .neuroflow/notes/ | Yes — shared meeting notes |
| .neuroflow/sessions/ | No — gitignored (personal logs) |
| ~/.neuroflow/flowie/ | No — global per-user, never in project |
| ~/.neuroflow/hives/{org-repo}/ | No — global per-user cache, never in project |
| What | Shared to Hive? |
|---|---|
| Research question | Never automatically — only if user explicitly runs --share |
| Session logs | Never |
| Raw data paths or outputs | Never |
| Analysis results | Never automatically — only with --share |
| Personal project_config.md fields | Never |
| Something the user explicitly approves via --share | Yes, after confirmation |
The Hive is pull-first: the researcher benefits from team knowledge without being required to share anything back.
Hive uses the same GitHub credentials as the user's local git config. The gh CLI (GitHub CLI) is preferred for push operations — check with gh auth status. If not available, fall back to constructing GitHub API calls with a PAT (personal access token) that the user provides.
Authentication instructions:
gh auth login # recommended
# or configure git credentials for HTTPS push
neuroflow:neuroflow-core — read first; defines the command lifecycle and .neuroflow/ write rulesneuroflow:phase-flowie — the personal-project counterpart to Hive; understand flowie before implementing Hive to avoid overlaptesting
This skill should be used whenever the user mentions BIDS, Brain Imaging Data Structure, BIDS conversion, BIDS validation, BIDS compliance, organizing neuroimaging data, dataset_description.json, participants.tsv, bids-validator, pybids, MNE-BIDS, or asks how to structure EEG/MEG/fMRI/iEEG/PET/DWI data for sharing or preprocessing. Also invoke when the user asks how to name scan files, what sidecar JSON fields are needed, how to set up derivatives/, or how to run fMRIPrep/MRIQC on their dataset. Invoke proactively during /data, /data-preprocess, and /data-analyze phases whenever the dataset structure is relevant to the task at hand.
tools
Phase guidance for the /meeting command. Covers meeting file structure, recurring templates, attendee resolution from profiles, Google Calendar MCP integration, agenda preparation with project context, and action-item-to-task conversion at all three levels (project, flowie, hive).
data-ai
Worker-critic agentic loop protocol — orchestrator coordinates a worker agent and a critic agent across up to 3 revision cycles to produce a vetted output for any phase.
development
Knowledge base skill — Karpathy-style LLM-maintained wiki at three levels (personal/flowie, project, team/hive). Handles ingest, query, lint, schema, and project-tagging workflows. Invoked by /flowie --wiki-* (personal), /wiki (project), /hive --wiki-* (team).