agentleFS
kalaverinkalaverin/skills/bootstrap/SKILL.md

bootstrap

Skill1 starsChanged 3 days agoBSD-3-ClauseView on GitHub

Canonical session boot and skill loading orchestrator. Always active. Owns the Startup Gate (mirror sync, forced frontmatter-protocol import, project activation, memory priming, MCP inventory, think-block proof-of-work), the MCP tool-layer mandate, decision-point interaction rules, and the operational mandate that every session loads the correct skill set. The mechanics of skill header parsing, trigger grammar, evaluation, and discovery live in `frontmatter-protocol` (include extension), which this skill requires.

75 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use surprise-me, newsletter-generation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • stophobiaSkill

    surprise-me

    Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

    Also in 4 projects that use this

  • bytedanceSkill

    newsletter-generation

    Use this skill when the user requests to generate, create, write, or draft a newsletter, email digest, weekly roundup, industry briefing, or curated content summary. Supports topic-based research, content curation from multiple sources, and professional formatting for email or web distribution. Trigger on requests like "create a newsletter about X", "write a weekly digest", "generate a tech roundup", or "curate news about Y".

    Also in 3 projects that use this

  • HK-hubSkill

    ppt-generation

    Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

    Also in 4 projects that use this

  • AWSSkill

    github-deep-research

    Use when searching GitHub beyond the default branch — forks, contrib/* branches, deleted code, historical refs, or work kept in contributors' forks. Use when `gh search code` comes back empty because it only indexes default branches.

    Also in 4 projects that use this

  • HK-hubSkill

    consulting-analysis

    Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

    Also in 4 projects that use this

  • MicrosoftSkill

    podcast-generation

    Generate AI-powered podcast-style audio narratives using Azure OpenAI's GPT Realtime Mini model via WebSocket. Use when building text-to-speech features, audio narrative generation, podcast creation from content, or integrating with Azure OpenAI Realtime API for real audio output. Covers full-stack implementation from React frontend to Python FastAPI backend with WebSocket streaming.

    Also in 4 projects that use this

  • +1 more from HK-hub

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 4 are distinctive, and 12 are very specific to this project.

  • 0

    Common

    Most of the 65 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 12

    Very specific

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

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

    Skill mirror sync (MUST): Run just sync-skills-mirror before loading any skill.

    line 21
  2. Very specific:

    If .kimi/skills/ is unreachable, rely on .kimi/mirror/ directly.

    line 24
  3. Very specific:

    Hard-stop on failure: if just sync-skills-mirror fails for any reason, halt immediately and report the failure.

    line 25
  4. Very specific:

    Forced import (MUST): Read frontmatter-protocol/SKILL.md in full, then its boot-mandatory extension …

    line 28
  5. Very specific:

    Project activation: Call activate_project.

    line 30
  6. Very specific:

    Memory priming: Call read_memory → agent/rules, plus any memories relevant to the current task.

    line 31
  7. Distinctive:

    Only then proceed with the user's request.

    line 34
  8. Very specific:

    Violation protocol: if you attempt to output a response without completing steps 1–8 and documenting them in the think block, halt …

    line 36
  9. Distinctive:

    Before proceeding with the user's request, confirm:

    line 68
  10. Very specific:

    Violation protocol: If you produce output without loading the include extension, evaluating every discovered non-draft skill header per its …

    line 75
  11. Distinctive:

    Violation protocol: if you use a raw CLI tool or general training-data heuristic when an MCP tool is available and appropriate, halt …

    line 85
  12. Very specific:

    MUST: always read and respect from Serena memory all agent/ instructions.

    line 89
  13. Very specific:

    MUST NEVER: use AskUserQuestion. It is broken by design in this environment.

    line 90
  14. Very specific:

    MUST NEVER: use EnterPlanMode or ExitPlanMode.

    line 91
  15. Distinctive:

    When facing multiple valid approaches, uncertainty, ambiguity, missing requirements, or any doubt about how to proceed, you MUST ALWAYS: …

    line 96
  16. Very specific:

    After receiving answers to such questions, you MUST record a self-contained decision card in Serena memory per serena-protocol [ref: …

    line 97

“Common” is measured: kept by at least 6 in 10 of the 65 edited versions of this file we could read. “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

SKILL: Session Boot & Skill Loading Orchestrator (Bootstrap)

This skill owns the Startup Gate (§1) and the canonical loading mandate. It is always active. The mechanics — header schema, trigger grammar, evaluation semantics, discovery algorithm, runtime re-evaluation, requires resolution, draft handling — are owned by frontmatter-protocol and MUST be loaded from there: frontmatter-protocol/SKILL.md (core) → frontmatter-protocol/references/include.md (boot-mandatory extension).

1. 🔒 STARTUP GATE (Execute Before Any Output)

This gate is executed HARDEST, with zero tolerance for deviation: no reordering, no skipping, no partial completion, no softened preconditions, no interpretation. The user's first message is PENDING until all steps complete. No output until done.

  1. Skill mirror sync (MUST). Run just sync-skills-mirror before loading any skill.
    • .kimi/mirror/ is the committed, canonical skill set used for discovery and by subagents.
    • .kimi/skills/ is the runtime symlink or live skill tree for the root agent and for bootstrap/init (it is the source that sync-skills-mirror copies into the mirror).
    • If .kimi/skills/ is unreachable, rely on .kimi/mirror/ directly; if both are missing, halt.
    • Hard-stop on failure: if just sync-skills-mirror fails for any reason, halt immediately and report the failure. Do NOT inspect the Justfile, do NOT attempt a manual rsync, do NOT proceed with the gate.
    • Skill-file reads: subagents never use the .kimi/skills/ symlink — they read skills from .kimi/mirror/. The main agent performs discovery from .kimi/mirror/; it may read .kimi/skills/ only for live edits during bootstrap/init.
  2. Forced import (MUST). Read frontmatter-protocol/SKILL.md in full, then its boot-mandatory extension frontmatter-protocol/references/include.md WHOLE, and apply them without exception (the boot contract lives in include.md).
  3. Skill discovery and loading. Run discovery and header evaluation per the include extension; read every TRIGGERED skill's SKILL.md in full. Runtime skills whose triggers did not fire are known by their discovery headers only — no SKILL.md body read; bodies load on activation per the include extension's Runtime Re-Evaluation.
  4. Project activation. Call activate_project.
  5. Memory priming. Call read_memory → agent/rules, plus any memories relevant to the current task. When project/repos exists, read it too: it is the session's repo-to-skills routing map (entity-protocol), tiny by contract.
  6. MCP Inventory. Identify and declare which MCP skill groups this task requires: kagimcp (web search/enrichment), serena symbolic/LSP tools (codebase exploration/edits), serena memory tools (memory operations), serena project tools (project/session management).
  7. Think block (Proof of Work). Produce a think block with the action plan containing: the MCP groups, format applied: mcp-1, mcp-2, ...; and the triggered skills with the rationale for each, format applied: skill-1, skill-2, ....
  8. Only then proceed with the user's request.

Violation protocol: if you attempt to output a response without completing steps 1–8 and documenting them in the think block, halt immediately, discard the output, execute the gate, and restart from step 1.

2. Mandatory Skills (Always Loaded)

The always-loaded set is NOT hardcoded here: it is exactly the set of discovered skills whose headers carry always: true, derived per the always-gate in frontmatter-protocol/references/include.md. The headers are the only source of truth — do not restate the list in prose. This skill (bootstrap) is itself always active by its own header.

3. Skill Loading (delegated mechanics)

Follow frontmatter-protocol/references/include.md for:

  • the SKILL.md header schema (including draft: true skipping and the ondemand: manifest extra),
  • the closed trigger grammar and its evaluation semantics (always, files, request, any, all),
  • the discovery algorithm and batch header extraction (including the _on_demand/ and _drafts/ directory semantics),
  • runtime: true mid-session re-evaluation,
  • transitive requires resolution.

Load every triggered skill's SKILL.md in full, then follow each skill's internal lazy-load protocol to pull only the reference sections needed for the current sub-task.

4. Trigger Override Protocol

Triggers override your internal assumptions. If a skill's trigger matches, you MUST load that skill even if you believe the topic is already familiar. If the task spans multiple domains, load ALL matching skills.

5. Common Triggered Skills

The project context commonly triggers skills such as python-lang (Python files, Ruff, uv) and code-review (review requests in English or Russian). These examples are representative, not exhaustive — the authoritative source of triggers is each discovered skill's header, evaluated per the include extension.

6. Reference Corpora

Skills whose references/**/*.md files use [ref: #<anchor>] lazy-load routing MUST conform to frontmatter-protocol/references/lazyload.md. Skill-specific presentation details belong to the owning skill's addendum, which MUST defer to that standard. The canonical validator is frontmatter-protocol/scripts/validate_frontmatter.py.

7. Skill Loading Verification

Before proceeding with the user's request, confirm:

  1. The include extension was loaded and applied (boot contract).
  2. You have read the SKILL.md of every triggered skill.
  3. You know which skill takes precedence when rules conflict.
  4. You will not use training data or general heuristics in place of the loaded skill rules.

Violation protocol: If you produce output without loading the include extension, evaluating every discovered non-draft skill header per its rules, loading every triggered skill, and documenting the loaded skills in the think block, halt immediately, discard the output, and restart skill loading correctly.

8. MCP Tool Layer (Mandate)

MCP skills are the mandated tool layer for this project, not optional conveniences. After the Startup Gate, you MUST declare the required MCP groups in the think block (§1 step 7). You are forbidden from using a non-MCP alternative when an MCP tool exists for the operation.

  • Web search and enrichment — owned by the kagi-search skill (kagimcp tools only).
  • Codebase and symbolic operations — prefer the serena MCP symbolic tools over raw CLI reads/greps (#serena-mcp-tools).
  • Memory and knowledge-base operations — owned by serena-protocol (#serena-memory-mutation, #serena-mcp-tools).

Violation protocol: if you use a raw CLI tool or general training-data heuristic when an MCP tool is available and appropriate, halt immediately, discard the offending operation, load the correct MCP skill group, and retry.

9. Decision Points & User Interaction

  • MUST always read and respect from Serena memory all agent/ instructions.
  • MUST NEVER use AskUserQuestion. It is broken by design in this environment. ALWAYS ask directly in the main chat message as plain text / markdown.
  • MUST NEVER use EnterPlanMode or ExitPlanMode. They are broken by design in this environment. Do all planning in chat, via SetTodoList, or by asking the user directly.
  • SetTodoList usage is governed by the todo-protocol skill — it owns creation, immutability, insertion, and status synchronization rules.
  • MUST NEVER hallucinate that a question was asked and no answer was received.
  • MUST NEVER make assumptions, pick defaults, or proceed with a "best guess" when any uncertainty exists.
  • MUST NEVER continue working while a question is pending. If a question was asked, STOP and WAIT for the user's explicit text reply before doing anything else.
  • When facing multiple valid approaches, uncertainty, ambiguity, missing requirements, or any doubt about how to proceed, you MUST ALWAYS: present all options clearly to the user; ask which approach to take; STOP and WAIT for the response before proceeding.
  • After receiving answers to such questions, you MUST record a self-contained decision card in Serena memory per serena-protocol [ref: #serena-lifecycle] (the card structure lives there).

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.