agentleFS
cofincofin/flow/skills/flow-setup/SKILL.md

flow-setup

Skill17 starsChanged 2 months agoApache-2.0View on GitHub

Use when initializing Flow in a repo, configuring .agents, scaffolding OKF knowledge bundles, or creating first project context files.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use for setup only.

    line 13
  2. Very specific:

    Standalone Project Skills Option: Ask whether to install a standalone, project-local Flow dependency closure into .agents/skills/.

    line 19
  3. Very specific:

    Validation & State Write: Verify bundle links and OKF frontmatter compliance, then write .agents/setup-state.json with setup_status: …

    line 23
  4. Distinctive:

    Use the standalone installer for copy, update, conflict, and uninstall operations.

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Flow Setup

<!-- lifecycle-ownership: owner=flow-setup; operations=setup -->

Trigger

Use for setup only.

Workflow

  1. Repository & Stack Detection: Detect language, framework, canonical commands (test, lint, typecheck), and existing Flow configuration.
  2. Scaffold Hierarchical OKF Layout: Initialize .agents/bundles/index.md (with okf_version: "0.2"). Create product/product.md, product/tech-stack.md, and knowledge/workflow.md; create knowledge/patterns/<topic>.md chapters and their directory only when repository evidence supports them.
  3. Standalone Project Skills Option: Ask whether to install a standalone, project-local Flow dependency closure into .agents/skills/. This prompt defaults to skip and installation requires explicit opt-in. Treat the standalone copy as an alternative to the global plugin, not an overlay.
  4. Validation & State Write: Verify bundle links and OKF frontmatter compliance, then write .agents/setup-state.json with setup_status: complete.

Guardrails

  • Preserve existing developer context; never overwrite custom blocks inside <!-- project-customization: start -->.
  • Use the standalone installer for copy, update, conflict, and uninstall operations; never hand-copy or delete project skills.
  • Preserve Git history and tag immutability.

Output

Return the resolved layout, generated bundle files, and planning handoff command (/flow:plan).

Validation

Confirm OKF frontmatter validity, directory link integrity, and .agents/setup-state.json configuration. For a standalone install, also confirm its contained dependency closure and exact managed-file hashes.

Example

For a new repository, run setup to detect the Python uv stack, scaffold .agents/bundles/ with hierarchical chapters, and initialize the setup state.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.