[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M786PSMNQKEG3XG9WEH48JP1":3,"skill-same:01M786PSMNQKEG3XG9WEH48JP1":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":5,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":48},"01M786PSMNQKEG3XG9WEH48JP1","mandatory-tools",null,"Mandatory skill for CLI, shell execution, filesystem operations, structured edits, and token-optimized commands. Selects the right tool per operation: Serena and Kagi MCP tools first, Patchloom for parser-backed and multi-file edits, RTK for token-optimized shell output, modern UNIX replacements (lsd, fd, rg, ruplacer, uv, ruff, tree) for everything else. Forbids legacy ls, find, grep, sed, pip, black, flake8, isort.","kalaverin\u002Fskills","kalaverin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6841312?v=4","01M786EMXK5R6A138KWFAS33T1","Alex Kalaverin","01M786EMYBQEDP3548REZHRX2Q",1,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mandatory-tools\ndescription: \"Mandatory skill for CLI, shell execution, filesystem operations, structured edits, and token-optimized commands. Selects the right tool per operation: Serena and Kagi MCP tools first, Patchloom for parser-backed and multi-file edits, RTK for token-optimized shell output, modern UNIX replacements (lsd, fd, rg, ruplacer, uv, ruff, tree) for everything else. Forbids legacy ls, find, grep, sed, pip, black, flake8, isort.\"\ntriggers:\n  always: true\n  reason: \"Every CLI, filesystem, search, Python, structured-edit, and token-optimization decision routes through this skill.\"\nrequires:\n  - frontmatter-protocol\nversion: 0.2.0\n---\n\n# SKILL: Mandatory Tools — Modern CLI, RTK & Patchloom\n\n[ref: #mt-skill]\n\nThis skill is a hard gate. Before every operation that touches files, shell, search, Python, or structured data, walk the ladder below and use the first applicable layer. No exceptions, no defaults, no \"good enough\".\n\n## 1. Tool Selection Ladder\n\n[ref: #mt-ladder]\n\nAnswer in this exact order:\n\n1. **Serena MCP?** Memory or symbolic code operation → `read_memory`, `write_memory`, `find_symbol`, `replace_symbol_body`, etc.\n2. **Kagi MCP?** Web search or page enrichment → `kagi_search_fetch`, `kagi_fastgpt`, `kagi_extract`, `kagi_summarizer`.\n3. **Patchloom?** Structured or multi-file edit → `execute_plan`, `doc_set`, `batch_replace`, `md_replace_section`, etc.\n4. **Shell command?** Prefix with `rtk` if available.\n5. **Base filesystem\u002Fsearch\u002FPython?** Use the modern replacement from §2.\n6. **Legacy tool?** FORBIDDEN. Halt and pick the correct layer.\n\nIf you are about to run a command and have not asked these questions, stop and ask them.\n\n## 2. Modern Replacements\n\n[ref: #mt-replacements]\n\n| Legacy | Modern |\n|---|---|\n| `ls` | `lsd` |\n| `find` | `fd` |\n| `grep` | `rg` |\n| `sed` (bulk replace) | `ruplacer` |\n| `pip`, `poetry`, `virtualenv` | `uv` (read-only by default) |\n| `black`, `flake8`, `isort` | `ruff` |\n\n`uv` state-changing commands (`init\u002Fadd\u002Fremove\u002Flock\u002Fsync\u002Fvenv\u002Fbuild\u002Fpublish`, `tool install\u002Funinstall`, `python install`) require the user's explicit request. Read-only safe commands are always allowed.\n\n## 3. RTK\n\n[ref: #mt-rtk]\n\nWhen `rtk` is on PATH, every shell command starts with `rtk`. This includes commands inside `&&` chains. Choose the modern tool first, then prefix it.\n\n```bash\n# Wrong\ngit status && rg TODO\n\n# Correct\nrtk git status && rtk rg TODO\n```\n\nPrefer `rtk rg` over plain `rg` when expected output exceeds roughly 20 lines.\n\nForbidden without explicit user request: `rtk init`, `rtk trust`, `rtk untrust`, `rtk hook`, `rtk telemetry`.\n\n## 4. Patchloom\n\n[ref: #mt-patchloom]\n\nUse Patchloom for any structured or multi-file edit when MCP tools are visible or the `patchloom` binary is present.\n\n| Situation | Tool |\n|---|---|\n| Same edit across 2+ files | `batch_replace` |\n| JSON\u002FYAML\u002FTOML value edit | `doc_set` \u002F `execute_plan` |\n| Markdown section by heading | `md_replace_section` |\n| Coordinated multi-file edits | `execute_plan` |\n| Single small plain-text edit | native edit tool or `ruplacer` dry-run |\n\nPatchloom never replaces Serena, Kagi, or shell build\u002Ftest steps (`uv`, `ruff`, `rtk`-prefixed commands).\n\n## 5. Hard Rules\n\n[ref: #mt-hard-rules]\n\n1. Never use a legacy tool when a modern replacement exists.\n2. Never omit the `rtk` prefix when RTK is available.\n3. Never bypass Patchloom for a structured\u002Fmulti-file edit when Patchloom is available.\n4. Never use a non-MCP alternative when an MCP tool fits.\n5. `ruplacer` dry-run first; review stdout before any `--go`.\n6. Run `ruff check` and `ruff format` after any Python file change.\n7. Limit directory listings with depth flags.\n\n## 6. Violation Protocol\n\n[ref: #mt-violation]\n\nIf you break any hard rule, halt immediately, disclose the miss in one line, discard the output, and rerun through the correct layer. Do not continue until the rerun succeeds. Record repeated violations in Serena memory under `bugs\u002Fproject\u002Fmandatory-tools-bypass`.\n\n## 7. Reference Routing\n\n[ref: #mt-routing]\n\n| Topic | Reference |\n|---|---|\n| RTK inventory | `references\u002Frtk.md` |\n| Patchloom traps | `references\u002Fpatchloom.md` |\n| File search | `references\u002Ffd-find.md` |\n| Text search | `references\u002Fripgrep.md` |\n| Bulk replace | `references\u002Fruplacer.md` |\n| Python lint\u002Fformat | `references\u002Fruff.md` |\n| uv safe commands | `references\u002Fuv.md` |\n| Directory listing | `references\u002Flsd.md` |\n","# SKILL: Mandatory Tools — Modern CLI, RTK & Patchloom\n\n[ref: #mt-skill]\n\nThis skill is a hard gate. Before every operation that touches files, shell, search, Python, or structured data, walk the ladder below and use the first applicable layer. No exceptions, no defaults, no \"good enough\".\n\n## 1. Tool Selection Ladder\n\n[ref: #mt-ladder]\n\nAnswer in this exact order:\n\n1. **Serena MCP?** Memory or symbolic code operation → `read_memory`, `write_memory`, `find_symbol`, `replace_symbol_body`, etc.\n2. **Kagi MCP?** Web search or page enrichment → `kagi_search_fetch`, `kagi_fastgpt`, `kagi_extract`, `kagi_summarizer`.\n3. **Patchloom?** Structured or multi-file edit → `execute_plan`, `doc_set`, `batch_replace`, `md_replace_section`, etc.\n4. **Shell command?** Prefix with `rtk` if available.\n5. **Base filesystem\u002Fsearch\u002FPython?** Use the modern replacement from §2.\n6. **Legacy tool?** FORBIDDEN. Halt and pick the correct layer.\n\nIf you are about to run a command and have not asked these questions, stop and ask them.\n\n## 2. Modern Replacements\n\n[ref: #mt-replacements]\n\n| Legacy | Modern |\n|---|---|\n| `ls` | `lsd` |\n| `find` | `fd` |\n| `grep` | `rg` |\n| `sed` (bulk replace) | `ruplacer` |\n| `pip`, `poetry`, `virtualenv` | `uv` (read-only by default) |\n| `black`, `flake8`, `isort` | `ruff` |\n\n`uv` state-changing commands (`init\u002Fadd\u002Fremove\u002Flock\u002Fsync\u002Fvenv\u002Fbuild\u002Fpublish`, `tool install\u002Funinstall`, `python install`) require the user's explicit request. Read-only safe commands are always allowed.\n\n## 3. RTK\n\n[ref: #mt-rtk]\n\nWhen `rtk` is on PATH, every shell command starts with `rtk`. This includes commands inside `&&` chains. Choose the modern tool first, then prefix it.\n\n```bash\n# Wrong\ngit status && rg TODO\n\n# Correct\nrtk git status && rtk rg TODO\n```\n\nPrefer `rtk rg` over plain `rg` when expected output exceeds roughly 20 lines.\n\nForbidden without explicit user request: `rtk init`, `rtk trust`, `rtk untrust`, `rtk hook`, `rtk telemetry`.\n\n## 4. Patchloom\n\n[ref: #mt-patchloom]\n\nUse Patchloom for any structured or multi-file edit when MCP tools are visible or the `patchloom` binary is present.\n\n| Situation | Tool |\n|---|---|\n| Same edit across 2+ files | `batch_replace` |\n| JSON\u002FYAML\u002FTOML value edit | `doc_set` \u002F `execute_plan` |\n| Markdown section by heading | `md_replace_section` |\n| Coordinated multi-file edits | `execute_plan` |\n| Single small plain-text edit | native edit tool or `ruplacer` dry-run |\n\nPatchloom never replaces Serena, Kagi, or shell build\u002Ftest steps (`uv`, `ruff`, `rtk`-prefixed commands).\n\n## 5. Hard Rules\n\n[ref: #mt-hard-rules]\n\n1. Never use a legacy tool when a modern replacement exists.\n2. Never omit the `rtk` prefix when RTK is available.\n3. Never bypass Patchloom for a structured\u002Fmulti-file edit when Patchloom is available.\n4. Never use a non-MCP alternative when an MCP tool fits.\n5. `ruplacer` dry-run first; review stdout before any `--go`.\n6. Run `ruff check` and `ruff format` after any Python file change.\n7. Limit directory listings with depth flags.\n\n## 6. Violation Protocol\n\n[ref: #mt-violation]\n\nIf you break any hard rule, halt immediately, disclose the miss in one line, discard the output, and rerun through the correct layer. Do not continue until the rerun succeeds. Record repeated violations in Serena memory under `bugs\u002Fproject\u002Fmandatory-tools-bypass`.\n\n## 7. Reference Routing\n\n[ref: #mt-routing]\n\n| Topic | Reference |\n|---|---|\n| RTK inventory | `references\u002Frtk.md` |\n| Patchloom traps | `references\u002Fpatchloom.md` |\n| File search | `references\u002Ffd-find.md` |\n| Text search | `references\u002Fripgrep.md` |\n| Bulk replace | `references\u002Fruplacer.md` |\n| Python lint\u002Fformat | `references\u002Fruff.md` |\n| uv safe commands | `references\u002Fuv.md` |\n| Directory listing | `references\u002Flsd.md` |\n",{"name":5,"version":24,"requires":25,"triggers":27,"description":7},"0.2.0",[26],"frontmatter-protocol",{"always":28,"reason":29},true,"Every CLI, filesystem, search, Python, structured-edit, and token-optimization decision routes through this skill.","main","7da8c355f6e99dcb88d8bb9f6ff27b3cb35bae47",0,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkalaverin","2026-11-15 01:37:57",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":28},[38,41,44],{"tool":39,"command":40},"npx","npx skills add kalaverin\u002Fskills --skill mandatory-tools",{"tool":42,"command":43},"bunx","bunx skills add kalaverin\u002Fskills --skill mandatory-tools",{"tool":45,"command":46},"pnpm","pnpm dlx skills add kalaverin\u002Fskills --skill mandatory-tools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002FSKILL.md",[49,55,59,63,67,71,75,79,83,87,91],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"README.md","REFERENCE","参考文档",6590,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002FREADME.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ffd-find.md",6468,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Ffd-find.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Flsd.md",5145,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Flsd.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fpatchloom.md",9842,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Fpatchloom.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fripgrep.md",9943,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Fripgrep.md",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Frtk.md",9661,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Frtk.md",{"path":76,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fruff.md",12649,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Fruff.md",{"path":80,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fruplacer.md",4775,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Fruplacer.md",{"path":84,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Ftree.md",4918,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Ftree.md",{"path":88,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fuv-full.md",24961,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Fuv-full.md",{"path":92,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fuv.md",7240,"https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fmandatory-tools\u002Freferences\u002Fuv.md",[96,103,110,117,124,131],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M786R9KK7RP1J8EB7X9TC9KR","todo-protocol","Mandatory protocol for using the SetTodoList tool. Governs when to create a todo list, how to update it without violating immutability rules, how to synchronize item status after every tool call, and the forbidden mutations. Always active.","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Ftodo-protocol\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M786QZTC43FBK3A251NTY62Y","subagents-protocol","Mandatory protocol for delegating work to built-in subagents (coder, explore, plan), also called our bots by users. Always active. Owns the context-hygiene delegation test (material vs answer, cost balance, warm-instance reuse), launch parameters (mandatory explicit `model`), the single-source model-selection table, answer budgets, degradation handling, the launch checklist, and the role library for delegated review\u002Faudit with intent routing (`references\u002Froles.md`).","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fsubagents-protocol\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M786QSXFDM550NCC4PQXN26X","serena-protocol","MANDATORY skill for Serena (MCP) memory, knowledge base, and symbolic code exploration operations. Use whenever the agent needs to: read or write Serena memories, mutate or persist memory, explore code via symbolic MCP tools, resolve contradictions in stored knowledge, or follow memory metadata, naming, and routing conventions.","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fserena-protocol\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M786QMXA58XD5DJZ2AZER5ZP","read-for-comments","Mandatory local standards library and archive. Before fetching any standard from the internet, the agent MUST check the Serena `standard\u002F` archive and this skill's `references\u002F` seed; after ANY standard-body download, the agent MUST archive it per the event-bound Archival Rule. Governs standard lookup, fetch, archival, and the family and full-body rules.","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fread-for-comments\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M786QD59A2R2JK1NJTK7MADP","python-lang","MANDATORY skill for Python code. Use when writing, editing, refactoring, or reviewing Python files, modules, packages, classes, functions, type annotations, imports, exceptions, comprehensions, decorators, or docstrings. Enforces Google Python Style Guide and a mandatory, unconditional Ruff format+check pipeline scoped strictly to the agent's own changes.","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fpython-lang\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":19},"01M786Q683RHDC93NWABY7XKQN","preflight-checklist","Mandatory session-initialization closer and Startup Gate audit. Always loaded. Runs EXACTLY ONCE at session start, after all skill loading completes: verifies Startup Gate completion with evidence (mirror sync, forced import, discovery, activation, memory priming, MCP declaration, think block), runs dynamic session checks derived from the active skill set (mode states, delegation readiness), and reports a compact evidence-backed verdict table to the user before the first task output. Any FAIL is fixed before proceeding.","https:\u002F\u002Fgithub.com\u002Fkalaverin\u002Fskills\u002Fblob\u002Fmain\u002Fpreflight-checklist\u002FSKILL.md",[],[]]