agentsclimarketplace

Niko

Skill Texarkanine/slobac/.cursor/skills/shared/niko

Niko Memory Bank System - Niko Phase - Initialization & Entry PointFrom its SKILL.md

Install
npx -y skills add Texarkanine/slobac --skill niko

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

7.8 KB, ~2.1k tokens by cl100k_base, as published. Nobody here has run it

Niko Phase - Initialization & Entry Point

/niko is the single entry point for the Niko system. It initializes the memory bank, detects current state, and routes to the appropriate workflow.

Step 0: Ensure Memory Bank

Before entering the state machine, ensure the memory bank exists.

Load: .cursor/rules/shared/niko/core/memory-bank-paths.mdc
Load: .cursor/skills/shared/niko/references/core/memory-bank-init.md

If any persistent file (productContext.md, systemPatterns.md, techContext.md) does not exist, initialize immediately per memory-bank-init.md.

If the user's only input was to initialize the memory bank, you are done β€” exit and do nothing else. Otherwise, proceed to the state machine.

State Machine

flowchart TD
    S0(("Step 0:<br>Ensure Memory Bank"))
    S1{"Step 1:<br>Detect Active<br>State"}
    S4{"Step 4:<br>Check for<br>User Input"}

    S0 --> S1
    S1 -->|"L4"| S2
    S1 -->|"Standalone"| S3
    S1 -->|"Fresh"| S4

    subgraph L4["L4 Re-entry"]
        S2{"Step 2:<br>Assess L4<br>Sub-run"}
        S2a["Step 2a:<br>Advance L4<br>Milestone"]

        S2 -->|"Complete"| S2a
    end

    subgraph Standalone["Standalone Re-entry"]
        S3{"Step 3:<br>Assess Standalone<br>Task"}
        S3a{"Step 3a:<br>Determine<br>Disposition"}
        S3b["Step 3b:<br>Clear Stale<br>State"]
        S3c{"Step 3c:<br>Check for<br>Conflicting Input"}

        S3 -->|"Incomplete"| S3c
        S3 -->|"Complete"| S3a
        S3a -.->|"Rework"| S3b
    end

    
    S2a -.->|"All done"| Archive
    S3a -.->|"Archive"| Archive

    
    
    S2 -->|"Not started"| Classify
    S2a -->|"Milestones remain"| Classify
    S3b --> Classify
    S4 -->|"Has input"| S5

    S5["Step 5:<br>Clarify Intent"] --> Classify

    S2 -->|"In-progress"| Resume
    S3c -->|"No input"| Resume

    S3c -->|"Has input"| Warn

    
    
    S4 -->|"No input"| Done

    subgraph "End States" 
        Archive[/"πŸ§‘β€πŸ’» /niko-archive"/]
        Warn("⚠️ STOP:<br>Work in-progress")
        Resume("Step 6:<br>Resume Workflow")
        Classify("Step 7:<br>Classify Complexity")
        Done("Done")
    end

Legend:

  • Solid edge = Transition does not require operator input
  • Dashed edge = Transition requires operator input

How to Navigate

The flowchart above and the step definitions below form a single contract. The flowchart is the authoritative routing map β€” it shows every legal path through the state machine. The step definitions explain how to evaluate conditions and execute procedures at each node.

To execute /niko:

  1. Begin at Step 1, whose definition is below.
  2. Decision node: the definition describes what to evaluate and what each outcome means. Your evaluation result maps to one of the labeled edges leaving that node. Follow it to the next step.
  3. Action node: the definition describes a procedure to execute. When complete, follow the outgoing edge to the next step.
  4. Repeat from (2).
  5. Terminal nodes (Done, ⚠️ STOP, πŸ§‘β€πŸ’» /niko-archive) mean stop β€” do not continue.

Lettered sub-steps (2a, 3a, 3b, 3c) belong to their parent step's subgraph. While inside a subgraph, your next step is either another sub-step in the same group or a top-level step β€” the edges make this explicit.


Step 1: Detect Active State

List the files in memory-bank/active/. Exactly one of three states applies:

  1. milestones.md exists β†’ L4 β†’ Step 2
  2. All four core ephemeral files exist (projectbrief.md, activeContext.md, tasks.md, progress.md) but no milestones.md β†’ Standalone β†’ Step 3
  3. Neither condition is met β†’ Fresh β†’ Step 4

Step 2: Assess L4 Sub-run

Read

  • memory-bank/active/milestones.md
  • memory-bank/active/activeContext.md
  • memory-bank/active/progress.md (if present)
  • memory-bank/active/.qa-validation-status (if present)

Determine which state applies:

  1. Complete: activeContext.md shows REFLECT COMPLETE, or the sub-run's complexity (from progress.md) is Level 1 and .qa-validation-status shows PASS. β†’ Step 2a
  2. Not started: progress.md does not exist, or the **Complexity:** field in progress.md is Level 4 (L4 plan exists but no sub-run has been classified yet). β†’ Step 7
  3. In-progress: a sub-run is active but not yet complete. β†’ Step 6

Step 2a: Advance L4 Milestone

  1. Mark the completed sub-run's milestone as - [x] in milestones.md.
  2. Delete sub-run ephemeral files from memory-bank/active/:
    • Delete all of the following that exist: tasks.md, activeContext.md, progress.md, creative/, troubleshooting/, .qa-validation-status, .preflight-status
    • Preserve: milestones.md, projectbrief.md, reflection/
  3. Re-read milestones.md:
    • Every milestone is - [x] β†’ All done. Direct the operator to run /niko-archive for the capstone archive. STOP and wait.
    • Unchecked milestones remain β†’ Milestones remain β†’ Step 7

Step 3: Assess Standalone Task

Read

  • memory-bank/active/activeContext.md
  • memory-bank/active/progress.md (if present)
  • memory-bank/active/.qa-validation-status (if present)

Determine which state applies:

  1. Complete: activeContext.md shows REFLECT COMPLETE, or the task's complexity (from progress.md) is Level 1 and .qa-validation-status shows PASS. β†’ Step 3a
  2. Incomplete: task is in-progress but not yet complete. β†’ Step 3c

Step 3a: Determine Disposition

The previous task is complete but not yet archived. Ask the operator: rework or archive? STOP and wait for their response.

  • Archive β†’ direct the operator to run /niko-archive.
  • Rework β†’ gather rework context from the operator (PR feedback, reviewer comments, specific issues). β†’ Step 3b

Step 3b: Clear Stale State

  1. Append rework initiation and the operator's feedback to progress.md.
  2. Append a Rework section to projectbrief.md (preserve the original brief above).
  3. Delete from memory-bank/active/ all of the following that exist: tasks.md, activeContext.md, troubleshooting/, .qa-validation-status, .preflight-status.
  4. Commit: chore: initiating rework on [task-id]

β†’ Step 7

Step 3c: Check for Conflicting Input

A standalone task is incomplete. Evaluate whether the user provided new task input alongside the /niko invocation:

  1. Has input β†’ ⚠️ Warn the operator that work is in-progress. The current task should be archived or explicitly abandoned before starting new work. STOP and wait.
  2. No input β†’ Step 6

Step 4: Check for User Input

No work is in-flight. Evaluate whether the user provided task input alongside the /niko invocation:

  1. Has input β†’ Step 5
  2. No input β†’ Done (nothing to do; exit)

Step 5: Clarify Intent

Load: .cursor/skills/shared/niko/references/core/intent-clarification.md

Follow the instructions to validate the user's intent. Once the user approves the restatement, proceed to Step 7.

Step 6: Resume Workflow

Read progress.md for the **Complexity:** field and activeContext.md for the **Phase:** field. Load the appropriate level-specific workflow and resume execution from the current phase.

  • Level 1: .cursor/skills/shared/niko/references/level1/level1-workflow.md
  • Level 2: .cursor/skills/shared/niko/references/level2/level2-workflow.md
  • Level 3: .cursor/skills/shared/niko/references/level3/level3-workflow.md
  • Level 4: .cursor/skills/shared/niko/references/level4/level4-workflow.md

Step 7: Classify Complexity

Load: .cursor/skills/shared/niko/references/core/complexity-analysis.md

Follow the instructions to determine the complexity level. Complexity analysis will populate the memory bank's ephemeral files and guide you to the next step.

What ships with it: 24 files

104.1 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.