@maincode-ai/matilda-code 0.21.13 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/agent-IUINB66G.js +3 -0
- package/chunks/agent-headless-YA2RKYEZ.js +3 -0
- package/chunks/{askUserQuestion-BNSWGD26.js → askUserQuestion-RZYBOPLR.js} +3 -3
- package/chunks/ca-JKEHLTNL.js +23 -0
- package/chunks/chunk-225CZWD7.js +89 -0
- package/chunks/{chunk-MEV5XQI2.js → chunk-2XSB5XHX.js} +1 -1
- package/chunks/chunk-453BANK3.js +8 -0
- package/chunks/{chunk-6M5G5FBH.js → chunk-4UGPARBR.js} +1 -1
- package/chunks/{chunk-RNKDFE2S.js → chunk-5B2QERWR.js} +1 -1
- package/chunks/chunk-5ETLURI6.js +3 -0
- package/chunks/chunk-6NXVLJ3X.js +56 -0
- package/chunks/{chunk-QZI2ZGZY.js → chunk-7B65UIHB.js} +1 -1
- package/chunks/{chunk-27Q5KW3A.js → chunk-7E2YCGHS.js} +13 -13
- package/chunks/{chunk-DHDD5YJC.js → chunk-ARAB5QTM.js} +69 -69
- package/chunks/chunk-DUB7JMQV.js +13 -0
- package/chunks/chunk-G3F3ZCH2.js +9 -0
- package/chunks/chunk-GT6MSEK4.js +3 -0
- package/chunks/chunk-HEJO7OBH.js +3 -0
- package/chunks/{chunk-6T2GIM76.js → chunk-IHWAOFCQ.js} +1 -1
- package/chunks/chunk-ILHNCXBC.js +8 -0
- package/chunks/chunk-J3ZCE3TA.js +8 -0
- package/chunks/{chunk-AOOZREGV.js → chunk-LBQNFSZ2.js} +1 -1
- package/chunks/{chunk-5OHGYMKP.js → chunk-LM6OIN4B.js} +1 -1
- package/chunks/{chunk-EZDV7A76.js → chunk-LMZBADPW.js} +1 -1
- package/chunks/chunk-MGRXOZAG.js +8 -0
- package/chunks/chunk-NBLBE7PE.js +2609 -0
- package/chunks/chunk-POGNX7U3.js +31 -0
- package/chunks/chunk-PQZ6HKKW.js +80 -0
- package/chunks/chunk-QXSBPCBA.js +8 -0
- package/chunks/chunk-RHSUTILA.js +9 -0
- package/chunks/{chunk-P5TG5CON.js → chunk-RPXRN7E6.js} +1 -1
- package/chunks/chunk-TUKNB5CQ.js +33 -0
- package/chunks/chunk-UM6CLO7D.js +7 -0
- package/chunks/chunk-V2VUANFI.js +120 -0
- package/chunks/chunk-V4VILMIK.js +14 -0
- package/chunks/chunk-ZSGBDQXU.js +11 -0
- package/chunks/{computer-use-J4GAM4M6.js → computer-use-PBCWDTJR.js} +1 -1
- package/chunks/{cron-create-IDWSZENI.js → cron-create-PHQ43NYA.js} +1 -1
- package/chunks/cron-delete-7RCQIU2U.js +3 -0
- package/chunks/cron-list-KKNLLMNN.js +5 -0
- package/chunks/de-GMGNR5CZ.js +23 -0
- package/chunks/{devtools-XRQ4YJ5S.js → devtools-7YNCRYZV.js} +1 -1
- package/chunks/{chunk-OOEH6ZSV.js → dist-UWUWLWTO.js} +2 -2
- package/chunks/{edit-X2S2ZXRN.js → edit-ELHNQB5E.js} +1 -1
- package/chunks/en-3NQMLVKW.js +23 -0
- package/chunks/{enter-worktree-TUCGNCLO.js → enter-worktree-UZIBOBV3.js} +1 -1
- package/chunks/enterPlanMode-UHY3DZXE.js +18 -0
- package/chunks/{exit-worktree-7FLITFZI.js → exit-worktree-HLG4PDMX.js} +1 -1
- package/chunks/{exitPlanMode-O5UUJ3GM.js → exitPlanMode-V4HYNH3J.js} +2 -2
- package/chunks/fr-WS3EBB36.js +23 -0
- package/chunks/{getMachineId-bsd-ZYBNK2JG.js → getMachineId-bsd-ETKQTB6C.js} +1 -1
- package/chunks/{getMachineId-darwin-CM2MQGUI.js → getMachineId-darwin-AKNRWOWB.js} +1 -1
- package/chunks/{getMachineId-linux-SYE2KMCW.js → getMachineId-linux-2QSD7FTP.js} +1 -1
- package/chunks/{getMachineId-unsupported-6IHVG2XO.js → getMachineId-unsupported-UXSV7I24.js} +1 -1
- package/chunks/{getMachineId-win-S3J3JSUM.js → getMachineId-win-4MTFXGP3.js} +1 -1
- package/chunks/glob-C5CTWXLP.js +22 -0
- package/chunks/{goal-tools-YQOA6OKU.js → goal-tools-BGIWEJ3K.js} +3 -3
- package/chunks/{grep-VAB2VSXM.js → grep-BEFTGKHW.js} +1 -1
- package/chunks/ja-GBCDQ43R.js +23 -0
- package/chunks/keychain-token-storage-FEJZYJBB.js +3 -0
- package/chunks/ls-XH55NAD3.js +15 -0
- package/chunks/{lsp-NGLDRHZU.js → lsp-BKDCR37G.js} +1 -1
- package/chunks/mcp-client-GAQG7MCT.js +3 -0
- package/chunks/monitor-NSVUUKCM.js +32 -0
- package/chunks/{multipart-parser-JI75T2O5.js → multipart-parser-FKHYAVGR.js} +1 -1
- package/chunks/notebook-edit-AXKYC64C.js +17 -0
- package/chunks/openaiContentGenerator-66YY6CIM.js +47 -0
- package/chunks/pt-VID6J2CM.js +23 -0
- package/chunks/read-file-YFJMLS7V.js +3 -0
- package/chunks/ripGrep-BEHEB23R.js +3 -0
- package/chunks/ru-EB6V6EAN.js +23 -0
- package/chunks/scheduler-GKQOREMS.js +8 -0
- package/chunks/send-message-GJSEMAZB.js +8 -0
- package/chunks/shell-J5Q2UEXH.js +3 -0
- package/chunks/{skill-ETQM5NI3.js → skill-3RWNSUNE.js} +1 -1
- package/chunks/src-LZEU4AYF.js +5 -0
- package/chunks/symbol-search-4VM6J5Y4.js +19 -0
- package/chunks/{syntheticOutput-WZDPECYS.js → syntheticOutput-O7LEF3AM.js} +1 -1
- package/chunks/task-create-N4IRJBTF.js +3 -0
- package/chunks/{task-detach-TBAVUOTC.js → task-detach-RGNQUX3H.js} +1 -1
- package/chunks/task-list-Z7JUB4QK.js +9 -0
- package/chunks/{task-stop-HDSARSJ6.js → task-stop-L2OWK2PJ.js} +1 -1
- package/chunks/{task-update-MW2VT2XV.js → task-update-H5AXVXDS.js} +1 -1
- package/chunks/{team-create-VMYNLZCC.js → team-create-FWTIQ2FT.js} +2 -2
- package/chunks/team-delete-D45ALROH.js +8 -0
- package/chunks/todoWrite-LCQOQBI7.js +3 -0
- package/chunks/{tool-search-WX6FOE35.js → tool-search-X6UUCSPU.js} +1 -1
- package/chunks/{web-fetch-CKYBHGLF.js → web-fetch-244KUWSX.js} +17 -17
- package/chunks/web-search-YRZ3BZ3X.js +26 -0
- package/chunks/{workflow-WBSRQG3N.js → workflow-EP4AFR24.js} +2 -2
- package/chunks/write-file-EXWGRN4Q.js +15 -0
- package/cli.js +641 -678
- package/examples/starter/README.md +0 -3
- package/locales/ca.js +3 -87
- package/locales/de.js +3 -91
- package/locales/en.js +3 -91
- package/locales/fr.js +3 -88
- package/locales/ja.js +3 -92
- package/locales/pt.js +3 -92
- package/locales/ru.js +3 -91
- package/package.json +2 -2
- package/sandbox-macos-permissive-proxied.sb +1 -1
- package/sandbox-macos-restrictive-closed.sb +14 -1
- package/sandbox-macos-restrictive-open.sb +14 -1
- package/sandbox-macos-restrictive-proxied.sb +15 -2
- package/bundled/mainy/SKILL.md +0 -157
- package/bundled/mainy/docs/_meta.ts +0 -32
- package/bundled/mainy/docs/common-workflow.md +0 -571
- package/bundled/mainy/docs/configuration/_meta.ts +0 -7
- package/bundled/mainy/docs/configuration/auth.md +0 -82
- package/bundled/mainy/docs/configuration/matilda-ignore.md +0 -55
- package/bundled/mainy/docs/configuration/model-providers.md +0 -516
- package/bundled/mainy/docs/configuration/settings.md +0 -818
- package/bundled/mainy/docs/configuration/themes.md +0 -199
- package/bundled/mainy/docs/configuration/trusted-folders.md +0 -67
- package/bundled/mainy/docs/extension/_meta.ts +0 -9
- package/bundled/mainy/docs/extension/extension-releasing.md +0 -204
- package/bundled/mainy/docs/extension/getting-started-extensions.md +0 -299
- package/bundled/mainy/docs/extension/introduction.md +0 -338
- package/bundled/mainy/docs/features/_meta.ts +0 -27
- package/bundled/mainy/docs/features/approval-mode.md +0 -388
- package/bundled/mainy/docs/features/arena.md +0 -219
- package/bundled/mainy/docs/features/auto-mode.md +0 -308
- package/bundled/mainy/docs/features/channels/_meta.ts +0 -5
- package/bundled/mainy/docs/features/channels/overview.md +0 -328
- package/bundled/mainy/docs/features/channels/plugins.md +0 -87
- package/bundled/mainy/docs/features/channels/telegram.md +0 -120
- package/bundled/mainy/docs/features/code-review.md +0 -291
- package/bundled/mainy/docs/features/commands.md +0 -528
- package/bundled/mainy/docs/features/dual-output.md +0 -627
- package/bundled/mainy/docs/features/followup-suggestions.md +0 -109
- package/bundled/mainy/docs/features/headless.md +0 -448
- package/bundled/mainy/docs/features/hooks.md +0 -1308
- package/bundled/mainy/docs/features/language.md +0 -144
- package/bundled/mainy/docs/features/lsp.md +0 -496
- package/bundled/mainy/docs/features/markdown-rendering.md +0 -183
- package/bundled/mainy/docs/features/mcp.md +0 -423
- package/bundled/mainy/docs/features/memory.md +0 -185
- package/bundled/mainy/docs/features/sandbox.md +0 -249
- package/bundled/mainy/docs/features/scheduled-tasks.md +0 -139
- package/bundled/mainy/docs/features/skills.md +0 -347
- package/bundled/mainy/docs/features/status-line.md +0 -397
- package/bundled/mainy/docs/features/structured-output.md +0 -309
- package/bundled/mainy/docs/features/sub-agents.md +0 -737
- package/bundled/mainy/docs/features/tips.md +0 -54
- package/bundled/mainy/docs/features/token-caching.md +0 -29
- package/bundled/mainy/docs/features/tool-use-summaries.md +0 -178
- package/bundled/mainy/docs/features/worktree.md +0 -343
- package/bundled/mainy/docs/ide-integration/_meta.ts +0 -4
- package/bundled/mainy/docs/ide-integration/ide-companion-spec.md +0 -182
- package/bundled/mainy/docs/ide-integration/ide-integration.md +0 -144
- package/bundled/mainy/docs/integration-github-action.md +0 -241
- package/bundled/mainy/docs/integration-jetbrains.md +0 -81
- package/bundled/mainy/docs/integration-vscode.md +0 -39
- package/bundled/mainy/docs/integration-zed.md +0 -72
- package/bundled/mainy/docs/matilda-serve-deploy-local.md +0 -221
- package/bundled/mainy/docs/matilda-serve.md +0 -661
- package/bundled/mainy/docs/overview.md +0 -64
- package/bundled/mainy/docs/quickstart.md +0 -234
- package/bundled/mainy/docs/reference/_meta.ts +0 -3
- package/bundled/mainy/docs/reference/keyboard-shortcuts.md +0 -91
- package/bundled/mainy/docs/support/Uninstall.md +0 -65
- package/bundled/mainy/docs/support/_meta.ts +0 -6
- package/bundled/mainy/docs/support/tos-privacy.md +0 -94
- package/bundled/mainy/docs/support/troubleshooting.md +0 -127
- package/chunks/agent-SRAIVZEE.js +0 -3
- package/chunks/agent-headless-XRDOZESG.js +0 -3
- package/chunks/anthropicContentGenerator-LLDIKDMQ.js +0 -39
- package/chunks/ca-NPYL24ME.js +0 -25
- package/chunks/chunk-27HUYW23.js +0 -22
- package/chunks/chunk-2HTPVSGT.js +0 -3
- package/chunks/chunk-3B2HABK7.js +0 -30
- package/chunks/chunk-3MTZTNAU.js +0 -101
- package/chunks/chunk-3YLXGE6T.js +0 -8
- package/chunks/chunk-47XR7IMP.js +0 -8
- package/chunks/chunk-4F4DA5UI.js +0 -8
- package/chunks/chunk-4Q2SNBUH.js +0 -18
- package/chunks/chunk-6EQMZNIY.js +0 -8
- package/chunks/chunk-6I6VGTKD.js +0 -8
- package/chunks/chunk-DC7LAFZZ.js +0 -8
- package/chunks/chunk-DE3HKC2W.js +0 -9
- package/chunks/chunk-FWDMPRKU.js +0 -3
- package/chunks/chunk-G7R2XEEF.js +0 -7
- package/chunks/chunk-GOJCMVJJ.js +0 -8
- package/chunks/chunk-GTVCJCHR.js +0 -8
- package/chunks/chunk-IJEGHQ7Z.js +0 -32
- package/chunks/chunk-JCE3JAVC.js +0 -25
- package/chunks/chunk-KHHJYBR5.js +0 -9
- package/chunks/chunk-LUNDTQ3G.js +0 -8
- package/chunks/chunk-LWARA7JY.js +0 -37
- package/chunks/chunk-M53RP3YP.js +0 -31
- package/chunks/chunk-MTMU7JYZ.js +0 -11
- package/chunks/chunk-O44XK65C.js +0 -8
- package/chunks/chunk-OA56BXPD.js +0 -3
- package/chunks/chunk-PEKAUGYV.js +0 -2621
- package/chunks/chunk-PGUG43HG.js +0 -24
- package/chunks/chunk-PGXQZVLX.js +0 -8
- package/chunks/chunk-QKYGQLWC.js +0 -8
- package/chunks/chunk-QN6Y6NPA.js +0 -3
- package/chunks/chunk-RI54U73U.js +0 -56
- package/chunks/chunk-RPFSFS7Z.js +0 -39
- package/chunks/chunk-SDTWBD62.js +0 -8
- package/chunks/chunk-SOEIVSM5.js +0 -113
- package/chunks/chunk-SVSY6AWS.js +0 -59
- package/chunks/chunk-T2T2UEPY.js +0 -4
- package/chunks/chunk-TISQNFB5.js +0 -3
- package/chunks/chunk-TWJLOEAI.js +0 -31
- package/chunks/chunk-VI74YQQO.js +0 -8
- package/chunks/chunk-VYZOOSMP.js +0 -30
- package/chunks/chunk-W4QSMIWO.js +0 -9
- package/chunks/chunk-WC2VTVCE.js +0 -27
- package/chunks/chunk-YV3PUOBU.js +0 -65
- package/chunks/chunk-ZX34M2GF.js +0 -14
- package/chunks/contextCommand-5F5M7NA4.js +0 -3
- package/chunks/cron-delete-NQCDZDUI.js +0 -3
- package/chunks/cron-list-Z4XMC3TO.js +0 -5
- package/chunks/de-34YZHGC6.js +0 -25
- package/chunks/dist-7UYRLSLE.js +0 -3
- package/chunks/dist-PH6JW7XD.js +0 -42
- package/chunks/en-QLGMD6OS.js +0 -25
- package/chunks/enterPlanMode-SQEZAAIR.js +0 -18
- package/chunks/fileFromPath-7UCWPD4W.js +0 -3
- package/chunks/fr-EDNBQACJ.js +0 -25
- package/chunks/geminiContentGenerator-FIZFLPU3.js +0 -8
- package/chunks/glob-GSFTYAS2.js +0 -22
- package/chunks/ja-LV4RLM3M.js +0 -25
- package/chunks/keychain-token-storage-KQK6MNOJ.js +0 -3
- package/chunks/ls-IZJ3CKZY.js +0 -15
- package/chunks/matildaAgentContentGenerator-QQHPCFJ5.js +0 -8
- package/chunks/matildaContentGenerator-W7Z33ONU.js +0 -8
- package/chunks/matildaOAuth2-7COTQQR2.js +0 -3
- package/chunks/mcp-client-DXUNIEIB.js +0 -3
- package/chunks/monitor-4PFIGAGG.js +0 -32
- package/chunks/notebook-edit-MWJYAATJ.js +0 -17
- package/chunks/openaiContentGenerator-NDVJL6QL.js +0 -3
- package/chunks/pt-5SQ4DGL7.js +0 -25
- package/chunks/read-file-WPZKPXWA.js +0 -3
- package/chunks/ripGrep-7LZDZFTX.js +0 -3
- package/chunks/ru-7K24S53N.js +0 -25
- package/chunks/scheduler-DK2MVKXX.js +0 -8
- package/chunks/send-message-TCPX5UDU.js +0 -8
- package/chunks/serve-GSZPJI2O.js +0 -1026
- package/chunks/shell-PRS47PDP.js +0 -3
- package/chunks/src-UB7DZRYK.js +0 -3
- package/chunks/src-WZTRMETQ.js +0 -5
- package/chunks/symbol-search-HARHZ5AH.js +0 -19
- package/chunks/task-create-XRNIDT4T.js +0 -3
- package/chunks/task-list-Z6BDZZID.js +0 -9
- package/chunks/team-delete-F7QDC2TE.js +0 -8
- package/chunks/todoWrite-SCF5M24M.js +0 -3
- package/chunks/web-search-67DFNS5V.js +0 -26
- package/chunks/write-file-S5FAX4JJ.js +0 -15
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
# Agent Skills
|
|
2
|
-
|
|
3
|
-
> Create, manage, and share Skills to extend Matilda Code's capabilities.
|
|
4
|
-
|
|
5
|
-
This guide shows you how to create, use, and manage Agent Skills in **Matilda Code**. Skills are modular capabilities that extend the model's effectiveness through organized folders containing instructions (and optionally scripts/resources).
|
|
6
|
-
|
|
7
|
-
## Prerequisites
|
|
8
|
-
|
|
9
|
-
- Matilda Code (recent version)
|
|
10
|
-
- Basic familiarity with Matilda Code ([Quickstart](../quickstart.md))
|
|
11
|
-
|
|
12
|
-
## What are Agent Skills?
|
|
13
|
-
|
|
14
|
-
Agent Skills package expertise into discoverable capabilities. Each Skill consists of a `SKILL.md` file with instructions that the model can load when relevant, plus optional supporting files like scripts and templates.
|
|
15
|
-
|
|
16
|
-
### How Skills are invoked
|
|
17
|
-
|
|
18
|
-
Skills are **model-invoked** — the model autonomously decides when to use them based on your request and the Skill's description. This is different from slash commands, which are **user-invoked** (you explicitly type `/command`).
|
|
19
|
-
|
|
20
|
-
If you want to invoke a Skill explicitly, use the `/skills` slash command:
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
/skills <skill-name>
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Use autocomplete to browse available Skills and descriptions.
|
|
27
|
-
|
|
28
|
-
### Benefits
|
|
29
|
-
|
|
30
|
-
- Extend Matilda Code for your workflows
|
|
31
|
-
- Share expertise across your team via git
|
|
32
|
-
- Reduce repetitive prompting
|
|
33
|
-
- Compose multiple Skills for complex tasks
|
|
34
|
-
|
|
35
|
-
## Create a Skill
|
|
36
|
-
|
|
37
|
-
Skills are stored as directories containing a `SKILL.md` file.
|
|
38
|
-
|
|
39
|
-
### Personal Skills
|
|
40
|
-
|
|
41
|
-
Personal Skills are available across all your projects. Store them in `~/.matilda/skills/`:
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
mkdir -p ~/.matilda/skills/my-skill-name
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Use personal Skills for:
|
|
48
|
-
|
|
49
|
-
- Your individual workflows and preferences
|
|
50
|
-
- Skills you're developing
|
|
51
|
-
- Personal productivity helpers
|
|
52
|
-
|
|
53
|
-
### Project Skills
|
|
54
|
-
|
|
55
|
-
Project Skills are shared with your team. Store them in `.matilda/skills/` within your project:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
mkdir -p .matilda/skills/my-skill-name
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Use project Skills for:
|
|
62
|
-
|
|
63
|
-
- Team workflows and conventions
|
|
64
|
-
- Project-specific expertise
|
|
65
|
-
- Shared utilities and scripts
|
|
66
|
-
|
|
67
|
-
Project Skills can be checked into git and automatically become available to teammates.
|
|
68
|
-
|
|
69
|
-
## Write `SKILL.md`
|
|
70
|
-
|
|
71
|
-
Create a `SKILL.md` file with YAML frontmatter and Markdown content:
|
|
72
|
-
|
|
73
|
-
```yaml
|
|
74
|
-
---
|
|
75
|
-
name: your-skill-name
|
|
76
|
-
description: Brief description of what this Skill does and when to use it
|
|
77
|
-
priority: 10
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
# Your Skill Name
|
|
81
|
-
|
|
82
|
-
## Instructions
|
|
83
|
-
Provide clear, step-by-step guidance for Matilda Code.
|
|
84
|
-
|
|
85
|
-
## Examples
|
|
86
|
-
Show concrete examples of using this Skill.
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Field requirements
|
|
90
|
-
|
|
91
|
-
Matilda Code currently validates that:
|
|
92
|
-
|
|
93
|
-
- `name` is a non-empty string matching `/^[\p{L}\p{N}_:.-]+$/u` — Unicode letters and digits (CJK / Cyrillic / accented Latin all OK), plus `_`, `:`, `.`, `-`. Whitespace, slashes, brackets and other structurally unsafe characters are rejected at parse time.
|
|
94
|
-
- `description` is a non-empty string
|
|
95
|
-
- `priority` is optional. When present, it must be a finite number. Higher values sort earlier in the `/skills` listing only — slash-command completion (typing `/`) and the `/help` custom commands view stay alphabetical, so a high-priority Skill never reorders built-in commands. Omitted or invalid values are treated as unset, which behaves like `0`.
|
|
96
|
-
|
|
97
|
-
Recommended conventions:
|
|
98
|
-
|
|
99
|
-
- Prefer lowercase ASCII with hyphens for shareable names (e.g. `tsx-helper`)
|
|
100
|
-
- Make `description` specific: include both **what** the Skill does and **when** to use it (key words users will naturally mention)
|
|
101
|
-
- Use `priority` sparingly for Skills that should reliably appear before the default alphabetical order in `/skills`. Negative priorities are allowed and sort below unset Skills.
|
|
102
|
-
|
|
103
|
-
### Optional: gate a Skill on file paths (`paths:`)
|
|
104
|
-
|
|
105
|
-
For Skills that only matter to specific parts of a codebase, add a `paths:` list of glob patterns. The Skill stays out of the model's available-skills listing until a tool call touches a matching file:
|
|
106
|
-
|
|
107
|
-
```yaml
|
|
108
|
-
---
|
|
109
|
-
name: tsx-helper
|
|
110
|
-
description: React TSX component helper
|
|
111
|
-
paths:
|
|
112
|
-
- 'src/**/*.tsx'
|
|
113
|
-
- 'packages/*/src/**/*.tsx'
|
|
114
|
-
---
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Notes:
|
|
118
|
-
|
|
119
|
-
- Globs are matched relative to the project root with [picomatch](https://github.com/micromatch/picomatch); files outside the project root never trigger activation.
|
|
120
|
-
- A path-gated Skill **stays activated for the rest of the session** once a matching file is touched. A new session, or a `refreshCache` triggered by editing any Skill file, resets activations.
|
|
121
|
-
- `paths:` only gates **model** discovery, and only at the SkillTool listing level. Unless `user-invocable: false` is set, you can always invoke a path-gated Skill yourself via `/<skill-name>` or the `/skills` picker — that user path runs the Skill body regardless of activation state. The model side, however, stays gated until a matching file is touched: a slash invocation does **not** unlock model-side activation, so if you want the model to chain off your invocation (call `Skill { skill: ... }` itself), also access a file matching the skill's `paths:` first.
|
|
122
|
-
- Combining `paths:` with `disable-model-invocation: true` is allowed but the gate has no effect — the Skill is hidden from the model regardless, so path activation never advertises it.
|
|
123
|
-
|
|
124
|
-
### Optional: control user and model invocation
|
|
125
|
-
|
|
126
|
-
Skills are user-invocable by default. To hide a Skill from direct slash-command use while keeping it available for model invocation, set `user-invocable: false`:
|
|
127
|
-
|
|
128
|
-
```yaml
|
|
129
|
-
---
|
|
130
|
-
name: model-only-helper
|
|
131
|
-
description: Helper the model can call when appropriate
|
|
132
|
-
user-invocable: false
|
|
133
|
-
---
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
This removes the Skill from `/<skill-name>` invocation and `/skills` picker results. It does not hide the Skill from the model.
|
|
137
|
-
|
|
138
|
-
To hide a Skill from model invocation while keeping direct user invocation available, set `disable-model-invocation: true`:
|
|
139
|
-
|
|
140
|
-
```yaml
|
|
141
|
-
---
|
|
142
|
-
name: manual-helper
|
|
143
|
-
description: Helper you invoke manually
|
|
144
|
-
disable-model-invocation: true
|
|
145
|
-
---
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
You can combine both fields, but then the Skill is not reachable through the normal user or model invocation paths.
|
|
149
|
-
|
|
150
|
-
## Add supporting files
|
|
151
|
-
|
|
152
|
-
Create additional files alongside `SKILL.md`:
|
|
153
|
-
|
|
154
|
-
```text
|
|
155
|
-
my-skill/
|
|
156
|
-
├── SKILL.md (required)
|
|
157
|
-
├── reference.md (optional documentation)
|
|
158
|
-
├── examples.md (optional examples)
|
|
159
|
-
├── scripts/
|
|
160
|
-
│ └── helper.py (optional utility)
|
|
161
|
-
└── templates/
|
|
162
|
-
└── template.txt (optional template)
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Reference these files from `SKILL.md`:
|
|
166
|
-
|
|
167
|
-
````markdown
|
|
168
|
-
For advanced usage, see [reference.md](reference.md).
|
|
169
|
-
|
|
170
|
-
Run the helper script:
|
|
171
|
-
|
|
172
|
-
```bash
|
|
173
|
-
python scripts/helper.py input.txt
|
|
174
|
-
```
|
|
175
|
-
````
|
|
176
|
-
|
|
177
|
-
## View available Skills
|
|
178
|
-
|
|
179
|
-
Matilda Code discovers Skills from:
|
|
180
|
-
|
|
181
|
-
- Personal Skills: `~/.matilda/skills/`
|
|
182
|
-
- Project Skills: `.matilda/skills/`
|
|
183
|
-
- Extension Skills: Skills provided by installed extensions
|
|
184
|
-
|
|
185
|
-
### Extension Skills
|
|
186
|
-
|
|
187
|
-
Extensions can provide custom skills that become available when the extension is enabled. These skills are stored in the extension's `skills/` directory and follow the same format as personal and project skills.
|
|
188
|
-
|
|
189
|
-
Extension skills are automatically discovered and loaded when the extension is installed and enabled.
|
|
190
|
-
|
|
191
|
-
To see which extensions provide skills, check the extension's `matilda-extension.json` file for a `skills` field.
|
|
192
|
-
|
|
193
|
-
To view available Skills, ask Matilda Code directly:
|
|
194
|
-
|
|
195
|
-
```text
|
|
196
|
-
What Skills are available?
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
> **Heads up — model vs. user view.** Asking the model only surfaces Skills the model can currently see. If a Skill uses `paths:` (see "Optional: gate a Skill on file paths" above), it stays out of that listing until a matching file has been touched. The `/skills` slash command shows Skills you can invoke directly; Skills with `user-invocable: false` remain visible on disk and may still be visible to the model.
|
|
200
|
-
|
|
201
|
-
Or browse the user-invocable list with the slash command (including path-gated Skills that have not activated yet):
|
|
202
|
-
|
|
203
|
-
```text
|
|
204
|
-
/skills
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
Or inspect the filesystem:
|
|
208
|
-
|
|
209
|
-
```bash
|
|
210
|
-
# List personal Skills
|
|
211
|
-
ls ~/.matilda/skills/
|
|
212
|
-
|
|
213
|
-
# List project Skills (if in a project directory)
|
|
214
|
-
ls .matilda/skills/
|
|
215
|
-
|
|
216
|
-
# View a specific Skill's content
|
|
217
|
-
cat ~/.matilda/skills/my-skill/SKILL.md
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
## Test a Skill
|
|
221
|
-
|
|
222
|
-
After creating a Skill, test it by asking questions that match your description.
|
|
223
|
-
|
|
224
|
-
Example: if your description mentions "PDF files":
|
|
225
|
-
|
|
226
|
-
```text
|
|
227
|
-
Can you help me extract text from this PDF?
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
The model autonomously decides to use your Skill if it matches the request — you don't need to explicitly invoke it.
|
|
231
|
-
|
|
232
|
-
## Debug a Skill
|
|
233
|
-
|
|
234
|
-
If Matilda Code doesn't use your Skill, check these common issues:
|
|
235
|
-
|
|
236
|
-
### Make the description specific
|
|
237
|
-
|
|
238
|
-
Too vague:
|
|
239
|
-
|
|
240
|
-
```yaml
|
|
241
|
-
description: Helps with documents
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
Specific:
|
|
245
|
-
|
|
246
|
-
```yaml
|
|
247
|
-
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDFs, forms, or document extraction.
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
### Verify file path
|
|
251
|
-
|
|
252
|
-
- Personal Skills: `~/.matilda/skills/<skill-name>/SKILL.md`
|
|
253
|
-
- Project Skills: `.matilda/skills/<skill-name>/SKILL.md`
|
|
254
|
-
|
|
255
|
-
```bash
|
|
256
|
-
# Personal
|
|
257
|
-
ls ~/.matilda/skills/my-skill/SKILL.md
|
|
258
|
-
|
|
259
|
-
# Project
|
|
260
|
-
ls .matilda/skills/my-skill/SKILL.md
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
### Check YAML syntax
|
|
264
|
-
|
|
265
|
-
Invalid YAML prevents the Skill metadata from loading correctly.
|
|
266
|
-
|
|
267
|
-
```bash
|
|
268
|
-
cat SKILL.md | head -n 15
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
Ensure:
|
|
272
|
-
|
|
273
|
-
- Opening `---` on line 1
|
|
274
|
-
- Closing `---` before Markdown content
|
|
275
|
-
- Valid YAML syntax (no tabs, correct indentation)
|
|
276
|
-
|
|
277
|
-
### View errors
|
|
278
|
-
|
|
279
|
-
Run Matilda Code with debug mode to see Skill loading errors:
|
|
280
|
-
|
|
281
|
-
```bash
|
|
282
|
-
matilda --debug
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
## Share Skills with your team
|
|
286
|
-
|
|
287
|
-
You can share Skills through project repositories:
|
|
288
|
-
|
|
289
|
-
1. Add the Skill under `.matilda/skills/`
|
|
290
|
-
2. Commit and push
|
|
291
|
-
3. Teammates pull the changes
|
|
292
|
-
|
|
293
|
-
```bash
|
|
294
|
-
git add .matilda/skills/
|
|
295
|
-
git commit -m "Add team Skill for PDF processing"
|
|
296
|
-
git push
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
## Update a Skill
|
|
300
|
-
|
|
301
|
-
Edit `SKILL.md` directly:
|
|
302
|
-
|
|
303
|
-
```bash
|
|
304
|
-
# Personal Skill
|
|
305
|
-
code ~/.matilda/skills/my-skill/SKILL.md
|
|
306
|
-
|
|
307
|
-
# Project Skill
|
|
308
|
-
code .matilda/skills/my-skill/SKILL.md
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
Changes take effect the next time you start Matilda Code. If Matilda Code is already running, restart it to load the updates.
|
|
312
|
-
|
|
313
|
-
## Remove a Skill
|
|
314
|
-
|
|
315
|
-
Delete the Skill directory:
|
|
316
|
-
|
|
317
|
-
```bash
|
|
318
|
-
# Personal
|
|
319
|
-
rm -rf ~/.matilda/skills/my-skill
|
|
320
|
-
|
|
321
|
-
# Project
|
|
322
|
-
rm -rf .matilda/skills/my-skill
|
|
323
|
-
git commit -m "Remove unused Skill"
|
|
324
|
-
```
|
|
325
|
-
|
|
326
|
-
## Best practices
|
|
327
|
-
|
|
328
|
-
### Keep Skills focused
|
|
329
|
-
|
|
330
|
-
One Skill should address one capability:
|
|
331
|
-
|
|
332
|
-
- Focused: "PDF form filling", "Excel analysis", "Git commit messages"
|
|
333
|
-
- Too broad: "Document processing" (split into smaller Skills)
|
|
334
|
-
|
|
335
|
-
### Write clear descriptions
|
|
336
|
-
|
|
337
|
-
Help the model discover when to use Skills by including specific triggers:
|
|
338
|
-
|
|
339
|
-
```yaml
|
|
340
|
-
description: Analyze Excel spreadsheets, create pivot tables, and generate charts. Use when working with Excel files, spreadsheets, or .xlsx data.
|
|
341
|
-
```
|
|
342
|
-
|
|
343
|
-
### Test with your team
|
|
344
|
-
|
|
345
|
-
- Does the Skill activate when expected?
|
|
346
|
-
- Are the instructions clear?
|
|
347
|
-
- Are there missing examples or edge cases?
|