@kortix/sandbox 0.4.1
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/config/customize.sh +143 -0
- package/config/kortix-env-setup.sh +25 -0
- package/kortix-master/package.json +22 -0
- package/kortix-master/src/config.ts +22 -0
- package/kortix-master/src/index.ts +44 -0
- package/kortix-master/src/routes/env.ts +65 -0
- package/kortix-master/src/routes/proxy.ts +108 -0
- package/kortix-master/src/routes/update.ts +185 -0
- package/kortix-master/src/services/proxy.ts +43 -0
- package/kortix-master/src/services/secret-store.ts +156 -0
- package/kortix-master/tsconfig.json +14 -0
- package/opencode/agents/kortix-browser.md +142 -0
- package/opencode/agents/kortix-build.md +62 -0
- package/opencode/agents/kortix-explore.md +66 -0
- package/opencode/agents/kortix-image-gen.md +33 -0
- package/opencode/agents/kortix-main.md +450 -0
- package/opencode/agents/kortix-plan.md +100 -0
- package/opencode/agents/kortix-research.md +84 -0
- package/opencode/agents/kortix-sheets.md +61 -0
- package/opencode/agents/kortix-slides.md +64 -0
- package/opencode/agents/kortix-web-dev.md +572 -0
- package/opencode/commands/email.md +36 -0
- package/opencode/commands/init.md +43 -0
- package/opencode/commands/journal.md +44 -0
- package/opencode/commands/memory-init.md +81 -0
- package/opencode/commands/memory-search.md +50 -0
- package/opencode/commands/memory-status.md +56 -0
- package/opencode/commands/research.md +36 -0
- package/opencode/commands/search.md +38 -0
- package/opencode/commands/slides.md +32 -0
- package/opencode/commands/spreadsheet.md +30 -0
- package/opencode/memory.json +37 -0
- package/opencode/ocx.jsonc +10 -0
- package/opencode/opencode.jsonc +103 -0
- package/opencode/package.json +25 -0
- package/opencode/patches/apply.sh +19 -0
- package/opencode/patches/opencode-pty-spawn.txt +49 -0
- package/opencode/plugin/background-agents.ts.disabled +483 -0
- package/opencode/plugin/kdco-primitives/get-project-id.ts +172 -0
- package/opencode/plugin/kdco-primitives/index.ts +26 -0
- package/opencode/plugin/kdco-primitives/log-warn.ts +51 -0
- package/opencode/plugin/kdco-primitives/mutex.ts +122 -0
- package/opencode/plugin/kdco-primitives/shell.ts +138 -0
- package/opencode/plugin/kdco-primitives/temp.ts +36 -0
- package/opencode/plugin/kdco-primitives/terminal-detect.ts +34 -0
- package/opencode/plugin/kdco-primitives/types.ts +13 -0
- package/opencode/plugin/kdco-primitives/with-timeout.ts +84 -0
- package/opencode/plugin/memory.ts +306 -0
- package/opencode/plugin/worktree/state.ts +412 -0
- package/opencode/plugin/worktree/terminal.ts +1002 -0
- package/opencode/plugin/worktree.ts +861 -0
- package/opencode/skills/KORTIX-browser/SKILL.md +478 -0
- package/opencode/skills/KORTIX-cron-triggers/SKILL.md +173 -0
- package/opencode/skills/KORTIX-deep-research/SKILL.md +278 -0
- package/opencode/skills/KORTIX-docx/SKILL.md +398 -0
- package/opencode/skills/KORTIX-docx/scripts/__init__.py +1 -0
- package/opencode/skills/KORTIX-docx/scripts/accept_changes.py +104 -0
- package/opencode/skills/KORTIX-docx/scripts/comment.py +244 -0
- package/opencode/skills/KORTIX-docx/scripts/office/helpers/__init__.py +0 -0
- package/opencode/skills/KORTIX-docx/scripts/office/helpers/merge_runs.py +199 -0
- package/opencode/skills/KORTIX-docx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/opencode/skills/KORTIX-docx/scripts/office/pack.py +159 -0
- package/opencode/skills/KORTIX-docx/scripts/office/soffice.py +183 -0
- package/opencode/skills/KORTIX-docx/scripts/office/unpack.py +132 -0
- package/opencode/skills/KORTIX-docx/scripts/office/validate.py +111 -0
- package/opencode/skills/KORTIX-docx/scripts/office/validators/__init__.py +15 -0
- package/opencode/skills/KORTIX-docx/scripts/office/validators/base.py +847 -0
- package/opencode/skills/KORTIX-docx/scripts/office/validators/docx.py +446 -0
- package/opencode/skills/KORTIX-docx/scripts/office/validators/pptx.py +275 -0
- package/opencode/skills/KORTIX-docx/scripts/office/validators/redlining.py +247 -0
- package/opencode/skills/KORTIX-docx/scripts/render_docx.py +179 -0
- package/opencode/skills/KORTIX-docx/scripts/templates/comments.xml +3 -0
- package/opencode/skills/KORTIX-docx/scripts/templates/commentsExtended.xml +3 -0
- package/opencode/skills/KORTIX-docx/scripts/templates/commentsExtensible.xml +3 -0
- package/opencode/skills/KORTIX-docx/scripts/templates/commentsIds.xml +3 -0
- package/opencode/skills/KORTIX-docx/scripts/templates/people.xml +3 -0
- package/opencode/skills/KORTIX-domain-research/SKILL.md +96 -0
- package/opencode/skills/KORTIX-domain-research/scripts/domain-lookup.py +810 -0
- package/opencode/skills/KORTIX-elevenlabs/SKILL.md +230 -0
- package/opencode/skills/KORTIX-elevenlabs/scripts/tts.py +389 -0
- package/opencode/skills/KORTIX-email/SKILL.md +145 -0
- package/opencode/skills/KORTIX-legal-writer/SKILL.md +409 -0
- package/opencode/skills/KORTIX-legal-writer/references/bluebook.md +152 -0
- package/opencode/skills/KORTIX-legal-writer/references/document-types.md +416 -0
- package/opencode/skills/KORTIX-legal-writer/scripts/courtlistener.py +291 -0
- package/opencode/skills/KORTIX-legal-writer/scripts/ecfr_lookup.py +299 -0
- package/opencode/skills/KORTIX-legal-writer/scripts/verify-legal.py +507 -0
- package/opencode/skills/KORTIX-logo-creator/SKILL.md +293 -0
- package/opencode/skills/KORTIX-logo-creator/references/prompt-patterns.md +134 -0
- package/opencode/skills/KORTIX-logo-creator/scripts/compose_logo.py +406 -0
- package/opencode/skills/KORTIX-logo-creator/scripts/create_logo_sheet.py +258 -0
- package/opencode/skills/KORTIX-logo-creator/scripts/remove_bg.py +96 -0
- package/opencode/skills/KORTIX-memory/SKILL.md +261 -0
- package/opencode/skills/KORTIX-memory/scripts/export-sessions.py +409 -0
- package/opencode/skills/KORTIX-paper-creator/SKILL.md +549 -0
- package/opencode/skills/KORTIX-paper-creator/assets/template.tex +101 -0
- package/opencode/skills/KORTIX-paper-creator/scripts/compile.sh +177 -0
- package/opencode/skills/KORTIX-paper-creator/scripts/openalex_to_bibtex.py +220 -0
- package/opencode/skills/KORTIX-paper-creator/scripts/verify.sh +354 -0
- package/opencode/skills/KORTIX-paper-search/SKILL.md +418 -0
- package/opencode/skills/KORTIX-pdf/SKILL.md +232 -0
- package/opencode/skills/KORTIX-pdf/forms.md +36 -0
- package/opencode/skills/KORTIX-pdf/reference.md +105 -0
- package/opencode/skills/KORTIX-pdf/scripts/check_bounding_boxes.py +65 -0
- package/opencode/skills/KORTIX-pdf/scripts/check_fillable_fields.py +11 -0
- package/opencode/skills/KORTIX-pdf/scripts/convert_pdf_to_images.py +33 -0
- package/opencode/skills/KORTIX-pdf/scripts/create_validation_image.py +37 -0
- package/opencode/skills/KORTIX-pdf/scripts/extract_form_field_info.py +122 -0
- package/opencode/skills/KORTIX-pdf/scripts/extract_form_structure.py +115 -0
- package/opencode/skills/KORTIX-pdf/scripts/fill_fillable_fields.py +98 -0
- package/opencode/skills/KORTIX-pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
- package/opencode/skills/KORTIX-plan/SKILL.md +228 -0
- package/opencode/skills/KORTIX-presentation-viewer/SKILL.md +87 -0
- package/opencode/skills/KORTIX-presentation-viewer/serve.ts +136 -0
- package/opencode/skills/KORTIX-presentation-viewer/viewer.html +559 -0
- package/opencode/skills/KORTIX-presentations/SKILL.md +344 -0
- package/opencode/skills/KORTIX-remotion/SKILL.md +56 -0
- package/opencode/skills/KORTIX-remotion/rules/3d.md +86 -0
- package/opencode/skills/KORTIX-remotion/rules/animations.md +29 -0
- package/opencode/skills/KORTIX-remotion/rules/assets.md +78 -0
- package/opencode/skills/KORTIX-remotion/rules/audio-visualization.md +198 -0
- package/opencode/skills/KORTIX-remotion/rules/audio.md +169 -0
- package/opencode/skills/KORTIX-remotion/rules/calculate-metadata.md +104 -0
- package/opencode/skills/KORTIX-remotion/rules/can-decode.md +75 -0
- package/opencode/skills/KORTIX-remotion/rules/charts.md +120 -0
- package/opencode/skills/KORTIX-remotion/rules/compositions.md +141 -0
- package/opencode/skills/KORTIX-remotion/rules/display-captions.md +184 -0
- package/opencode/skills/KORTIX-remotion/rules/extract-frames.md +229 -0
- package/opencode/skills/KORTIX-remotion/rules/ffmpeg.md +38 -0
- package/opencode/skills/KORTIX-remotion/rules/fonts.md +152 -0
- package/opencode/skills/KORTIX-remotion/rules/get-audio-duration.md +58 -0
- package/opencode/skills/KORTIX-remotion/rules/get-video-dimensions.md +68 -0
- package/opencode/skills/KORTIX-remotion/rules/get-video-duration.md +58 -0
- package/opencode/skills/KORTIX-remotion/rules/gifs.md +141 -0
- package/opencode/skills/KORTIX-remotion/rules/images.md +130 -0
- package/opencode/skills/KORTIX-remotion/rules/import-srt-captions.md +69 -0
- package/opencode/skills/KORTIX-remotion/rules/light-leaks.md +73 -0
- package/opencode/skills/KORTIX-remotion/rules/lottie.md +68 -0
- package/opencode/skills/KORTIX-remotion/rules/maps.md +401 -0
- package/opencode/skills/KORTIX-remotion/rules/measuring-dom-nodes.md +35 -0
- package/opencode/skills/KORTIX-remotion/rules/measuring-text.md +143 -0
- package/opencode/skills/KORTIX-remotion/rules/parameters.md +98 -0
- package/opencode/skills/KORTIX-remotion/rules/sequencing.md +118 -0
- package/opencode/skills/KORTIX-remotion/rules/subtitles.md +36 -0
- package/opencode/skills/KORTIX-remotion/rules/tailwind.md +11 -0
- package/opencode/skills/KORTIX-remotion/rules/text-animations.md +20 -0
- package/opencode/skills/KORTIX-remotion/rules/timing.md +179 -0
- package/opencode/skills/KORTIX-remotion/rules/transcribe-captions.md +70 -0
- package/opencode/skills/KORTIX-remotion/rules/transitions.md +197 -0
- package/opencode/skills/KORTIX-remotion/rules/transparent-videos.md +106 -0
- package/opencode/skills/KORTIX-remotion/rules/trimming.md +53 -0
- package/opencode/skills/KORTIX-remotion/rules/videos.md +171 -0
- package/opencode/skills/KORTIX-secrets/SKILL.md +280 -0
- package/opencode/skills/KORTIX-semantic-search/SKILL.md +213 -0
- package/opencode/skills/KORTIX-session-search/SKILL.md +807 -0
- package/opencode/skills/KORTIX-session-search/Untitled +1 -0
- package/opencode/skills/KORTIX-skill-creator/SKILL.md +163 -0
- package/opencode/skills/KORTIX-web-research/SKILL.md +69 -0
- package/opencode/skills/KORTIX-xlsx/LICENSE.txt +30 -0
- package/opencode/skills/KORTIX-xlsx/SKILL.md +549 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/helpers/__init__.py +0 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/helpers/merge_runs.py +199 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/pack.py +159 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/soffice.py +183 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/unpack.py +132 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/validate.py +111 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/validators/__init__.py +15 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/validators/base.py +847 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/validators/docx.py +446 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/validators/pptx.py +275 -0
- package/opencode/skills/KORTIX-xlsx/scripts/office/validators/redlining.py +247 -0
- package/opencode/skills/KORTIX-xlsx/scripts/recalc.py +184 -0
- package/opencode/tools/image-gen.ts +342 -0
- package/opencode/tools/image-search.ts +190 -0
- package/opencode/tools/memory-get.ts +168 -0
- package/opencode/tools/memory-search.ts +247 -0
- package/opencode/tools/presentation-gen.ts +723 -0
- package/opencode/tools/scrape-webpage.ts +115 -0
- package/opencode/tools/scripts/.python-version +1 -0
- package/opencode/tools/scripts/convert_pdf.py +184 -0
- package/opencode/tools/scripts/convert_pptx.py +562 -0
- package/opencode/tools/scripts/pyproject.toml +11 -0
- package/opencode/tools/scripts/uv.lock +287 -0
- package/opencode/tools/scripts/validate_slide.py +74 -0
- package/opencode/tools/show-user.ts +217 -0
- package/opencode/tools/tests/e2e-presentation-fix.ts +277 -0
- package/opencode/tools/tests/image-gen.test.ts +215 -0
- package/opencode/tools/tests/image-search.test.ts +125 -0
- package/opencode/tools/tests/memory-system-benchmark.ts +1076 -0
- package/opencode/tools/tests/presentation-gen.test.ts +389 -0
- package/opencode/tools/tests/scrape-webpage.test.ts +74 -0
- package/opencode/tools/tests/show-user.test.ts +241 -0
- package/opencode/tools/tests/video-gen.test.ts +110 -0
- package/opencode/tools/tests/web-search.test.ts +106 -0
- package/opencode/tools/video-gen.ts +200 -0
- package/opencode/tools/web-search.ts +153 -0
- package/opencode/tsconfig.json +29 -0
- package/package.json +36 -0
- package/patch-agent-browser.js +100 -0
- package/postinstall.sh +88 -0
- package/services/KORTIX-presentation-viewer/run +37 -0
- package/services/agent-browser-viewer/run +48 -0
- package/services/kortix-master/run +16 -0
- package/services/lss-sync/run +22 -0
- package/services/opencode-serve/run +25 -0
- package/services/opencode-web/run +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
https://github.com/kdcokenny/opencode-worktree.git
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kortix-skill-creator
|
|
3
|
+
description: "Guide for creating effective skills. Use this skill when the user wants to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Skill Creator
|
|
7
|
+
|
|
8
|
+
Guide for creating effective skills.
|
|
9
|
+
|
|
10
|
+
## About Skills
|
|
11
|
+
|
|
12
|
+
Skills are modular, self-contained packages that extend the agent's capabilities by providing specialized knowledge, workflows, and tools. They transform a general-purpose agent into a specialized one equipped with procedural knowledge that no model can fully possess.
|
|
13
|
+
|
|
14
|
+
### What Skills Provide
|
|
15
|
+
|
|
16
|
+
1. Specialized workflows - Multi-step procedures for specific domains
|
|
17
|
+
2. Tool integrations - Instructions for working with specific file formats or APIs
|
|
18
|
+
3. Domain expertise - Company-specific knowledge, schemas, business logic
|
|
19
|
+
4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
|
|
20
|
+
|
|
21
|
+
## Core Principles
|
|
22
|
+
|
|
23
|
+
### Concise is Key
|
|
24
|
+
|
|
25
|
+
The context window is a public good. Skills share the context window with everything else: system prompt, conversation history, other Skills' metadata, and the actual user request.
|
|
26
|
+
|
|
27
|
+
**Default assumption: the agent is already very smart.** Only add context it doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" and "Does this paragraph justify its token cost?"
|
|
28
|
+
|
|
29
|
+
Prefer concise examples over verbose explanations.
|
|
30
|
+
|
|
31
|
+
### Set Appropriate Degrees of Freedom
|
|
32
|
+
|
|
33
|
+
Match the level of specificity to the task's fragility and variability:
|
|
34
|
+
|
|
35
|
+
**High freedom (text-based instructions)**: Multiple approaches valid, decisions depend on context.
|
|
36
|
+
|
|
37
|
+
**Medium freedom (pseudocode or scripts with parameters)**: Preferred pattern exists, some variation acceptable.
|
|
38
|
+
|
|
39
|
+
**Low freedom (specific scripts, few parameters)**: Operations are fragile and error-prone, consistency is critical.
|
|
40
|
+
|
|
41
|
+
### Anatomy of a Skill
|
|
42
|
+
|
|
43
|
+
Every skill consists of a required SKILL.md file and optional bundled resources:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
skill-name/
|
|
47
|
+
├── SKILL.md (required)
|
|
48
|
+
│ ├── YAML frontmatter metadata (required)
|
|
49
|
+
│ │ ├── name: (required)
|
|
50
|
+
│ │ └── description: (required)
|
|
51
|
+
│ └── Markdown instructions (required)
|
|
52
|
+
└── Bundled Resources (optional)
|
|
53
|
+
├── scripts/ - Executable code (Python/Bash/etc.)
|
|
54
|
+
├── references/ - Documentation loaded into context as needed
|
|
55
|
+
└── assets/ - Files used in output (templates, icons, fonts, etc.)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
#### SKILL.md (required)
|
|
59
|
+
|
|
60
|
+
- **Frontmatter** (YAML): Contains `name` and `description` fields (required). Only `name` and `description` are read by the agent to determine when the skill triggers, so be clear and comprehensive.
|
|
61
|
+
- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers.
|
|
62
|
+
|
|
63
|
+
#### Bundled Resources (optional)
|
|
64
|
+
|
|
65
|
+
##### Scripts (`scripts/`)
|
|
66
|
+
Executable code for tasks requiring deterministic reliability or repeatedly rewritten.
|
|
67
|
+
|
|
68
|
+
##### References (`references/`)
|
|
69
|
+
Documentation loaded as needed into context. Keeps SKILL.md lean. If files are large (>10k words), include grep search patterns in SKILL.md.
|
|
70
|
+
|
|
71
|
+
##### Assets (`assets/`)
|
|
72
|
+
Files used within the output (templates, images, boilerplate). Not loaded into context.
|
|
73
|
+
|
|
74
|
+
#### What NOT to Include
|
|
75
|
+
|
|
76
|
+
- README.md, INSTALLATION_GUIDE.md, QUICK_REFERENCE.md, CHANGELOG.md
|
|
77
|
+
- Auxiliary context about creation process, setup/testing procedures, user-facing documentation
|
|
78
|
+
|
|
79
|
+
### Progressive Disclosure
|
|
80
|
+
|
|
81
|
+
Skills use a three-level loading system:
|
|
82
|
+
|
|
83
|
+
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
84
|
+
2. **SKILL.md body** - When skill triggers (<5k words)
|
|
85
|
+
3. **Bundled resources** - As needed (unlimited since scripts can run without reading into context)
|
|
86
|
+
|
|
87
|
+
Keep SKILL.md body under 500 lines. Split content into separate files when approaching this limit.
|
|
88
|
+
|
|
89
|
+
**Pattern 1: High-level guide with references**
|
|
90
|
+
```markdown
|
|
91
|
+
# PDF Processing
|
|
92
|
+
## Quick start
|
|
93
|
+
[code example]
|
|
94
|
+
## Advanced features
|
|
95
|
+
- **Form filling**: See FORMS.md
|
|
96
|
+
- **API reference**: See REFERENCE.md
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Pattern 2: Domain-specific organization**
|
|
100
|
+
```
|
|
101
|
+
bigquery-skill/
|
|
102
|
+
├── SKILL.md (overview and navigation)
|
|
103
|
+
└── reference/
|
|
104
|
+
├── finance.md
|
|
105
|
+
├── sales.md
|
|
106
|
+
└── product.md
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Pattern 3: Conditional details**
|
|
110
|
+
```markdown
|
|
111
|
+
## Creating documents
|
|
112
|
+
Use docx-js. See DOCX-JS.md.
|
|
113
|
+
## Editing documents
|
|
114
|
+
For simple edits, modify XML directly.
|
|
115
|
+
**For tracked changes**: See REDLINING.md
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Skill Creation Process
|
|
119
|
+
|
|
120
|
+
### Step 1: Understand with Concrete Examples
|
|
121
|
+
Understand concrete usage examples. Ask:
|
|
122
|
+
- "What functionality should this skill support?"
|
|
123
|
+
- "Can you give examples of how it would be used?"
|
|
124
|
+
- "What would a user say that should trigger this skill?"
|
|
125
|
+
|
|
126
|
+
### Step 2: Plan Reusable Contents
|
|
127
|
+
Analyze each example to identify what scripts, references, and assets would help when executing workflows repeatedly.
|
|
128
|
+
|
|
129
|
+
### Step 3: Initialize the Skill
|
|
130
|
+
Create the skill directory structure:
|
|
131
|
+
```
|
|
132
|
+
skill-name/
|
|
133
|
+
├── SKILL.md
|
|
134
|
+
├── scripts/
|
|
135
|
+
├── references/
|
|
136
|
+
└── assets/
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Step 4: Edit the Skill
|
|
140
|
+
|
|
141
|
+
**Start with reusable contents** -- scripts, references, and assets identified in Step 2. Test added scripts by running them.
|
|
142
|
+
|
|
143
|
+
**Update SKILL.md:**
|
|
144
|
+
|
|
145
|
+
##### Frontmatter
|
|
146
|
+
- `name`: The skill name
|
|
147
|
+
- `description`: Primary triggering mechanism. Include both what the skill does AND specific triggers/contexts. Include ALL "when to use" information here (the body is only loaded after triggering).
|
|
148
|
+
|
|
149
|
+
##### Body
|
|
150
|
+
Write instructions for using the skill and its bundled resources. Use imperative/infinitive form.
|
|
151
|
+
|
|
152
|
+
### Step 5: Package and Verify
|
|
153
|
+
Validate the skill:
|
|
154
|
+
- YAML frontmatter format and required fields
|
|
155
|
+
- Skill naming conventions and directory structure
|
|
156
|
+
- Description completeness and quality
|
|
157
|
+
- File organization and resource references
|
|
158
|
+
|
|
159
|
+
### Step 6: Iterate
|
|
160
|
+
1. Use the skill on real tasks
|
|
161
|
+
2. Notice struggles or inefficiencies
|
|
162
|
+
3. Identify how SKILL.md or bundled resources should be updated
|
|
163
|
+
4. Implement changes and test again
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kortix-web-research
|
|
3
|
+
description: "Lightweight web exploration skill for moderate research tasks. Use when the user needs more than a quick factual lookup but less than a full deep research report. Handles: comparisons ('A vs B'), 'what are the options for X', 'how does X work', 'find examples of Y', technical lookups requiring multiple sources, pros/cons analysis. Returns findings in conversation with inline source links. Do NOT use for: simple factual lookups (use web-search directly) or comprehensive investigations requiring formal cited reports (delegate to @kortix-research)."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Web Research (Lightweight Exploration)
|
|
7
|
+
|
|
8
|
+
Fast, focused web exploration that synthesizes information from multiple sources without the overhead of deep recursive research. Use this when a single search isn't enough but a full investigation is overkill.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. **Formulate 2-4 search queries.** Vary:
|
|
13
|
+
- Phrasing (synonyms, technical vs. lay terms)
|
|
14
|
+
- Angle (include at least one alternative/counter perspective)
|
|
15
|
+
- Source type (official docs, comparisons, community discussions)
|
|
16
|
+
|
|
17
|
+
2. **Batch search:**
|
|
18
|
+
```
|
|
19
|
+
web-search("query1 ||| query2 ||| query3")
|
|
20
|
+
```
|
|
21
|
+
Use `search_depth: "basic"` (default). Only escalate to `"advanced"` if basic results are clearly insufficient.
|
|
22
|
+
|
|
23
|
+
3. **Evaluate results.** Read the Tavily-provided snippets and AI answer first. Only scrape full pages when:
|
|
24
|
+
- The snippet is insufficient to answer the question
|
|
25
|
+
- You need specific details (code examples, configuration, pricing)
|
|
26
|
+
- The source is authoritative and worth reading fully
|
|
27
|
+
|
|
28
|
+
4. **Scrape selectively** (0-3 pages max):
|
|
29
|
+
```
|
|
30
|
+
scrape-webpage("url1, url2")
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
5. **Synthesize** a concise answer with inline `[Source Title](url)` links.
|
|
34
|
+
|
|
35
|
+
## Constraints
|
|
36
|
+
|
|
37
|
+
- **Max 5 web searches** per invocation
|
|
38
|
+
- **Max 3 page scrapes** per invocation
|
|
39
|
+
- **No recursive deepening** -- one round of search is enough
|
|
40
|
+
- **No numbered bibliography** -- inline links are sufficient
|
|
41
|
+
- **No file output** -- return findings directly in conversation
|
|
42
|
+
- **No formal report structure** -- conversational, focused answer
|
|
43
|
+
|
|
44
|
+
## Search Strategy
|
|
45
|
+
|
|
46
|
+
| Query Type | Strategy |
|
|
47
|
+
|---|---|
|
|
48
|
+
| Comparison ("A vs B") | Search "[A] vs [B]", "[A] alternative to [B]", "[A] review 2025/2026" |
|
|
49
|
+
| How-to / Explainer | Search official docs first, then tutorials, then community answers |
|
|
50
|
+
| Options / Landscape | Search "best [category] 2025/2026", "[category] comparison", "[specific option] review" |
|
|
51
|
+
| Technical lookup | Search official docs `site:docs.example.com`, then Stack Overflow, then blog posts |
|
|
52
|
+
|
|
53
|
+
## Source Quality
|
|
54
|
+
|
|
55
|
+
- Prefer official documentation, established publications, .edu/.gov domains
|
|
56
|
+
- Note publication date -- flag anything older than 2 years for fast-moving topics
|
|
57
|
+
- If sources conflict, briefly note the disagreement rather than picking a side
|
|
58
|
+
|
|
59
|
+
## Output Format
|
|
60
|
+
|
|
61
|
+
Write a focused, conversational answer. Integrate source links naturally in the text. End with a Sources section:
|
|
62
|
+
|
|
63
|
+
```markdown
|
|
64
|
+
**Sources:**
|
|
65
|
+
- [Source Title](url) -- brief relevance note
|
|
66
|
+
- [Source Title](url) -- brief relevance note
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Keep it concise. The user asked a question, not for a research paper.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
© 2025 Anthropic, PBC. All rights reserved.
|
|
2
|
+
|
|
3
|
+
LICENSE: Use of these materials (including all code, prompts, assets, files,
|
|
4
|
+
and other components of this Skill) is governed by your agreement with
|
|
5
|
+
Anthropic regarding use of Anthropic's services. If no separate agreement
|
|
6
|
+
exists, use is governed by Anthropic's Consumer Terms of Service or
|
|
7
|
+
Commercial Terms of Service, as applicable:
|
|
8
|
+
https://www.anthropic.com/legal/consumer-terms
|
|
9
|
+
https://www.anthropic.com/legal/commercial-terms
|
|
10
|
+
Your applicable agreement is referred to as the "Agreement." "Services" are
|
|
11
|
+
as defined in the Agreement.
|
|
12
|
+
|
|
13
|
+
ADDITIONAL RESTRICTIONS: Notwithstanding anything in the Agreement to the
|
|
14
|
+
contrary, users may not:
|
|
15
|
+
|
|
16
|
+
- Extract these materials from the Services or retain copies of these
|
|
17
|
+
materials outside the Services
|
|
18
|
+
- Reproduce or copy these materials, except for temporary copies created
|
|
19
|
+
automatically during authorized use of the Services
|
|
20
|
+
- Create derivative works based on these materials
|
|
21
|
+
- Distribute, sublicense, or transfer these materials to any third party
|
|
22
|
+
- Make, offer to sell, sell, or import any inventions embodied in these
|
|
23
|
+
materials
|
|
24
|
+
- Reverse engineer, decompile, or disassemble these materials
|
|
25
|
+
|
|
26
|
+
The receipt, viewing, or possession of these materials does not convey or
|
|
27
|
+
imply any license or right beyond those expressly granted above.
|
|
28
|
+
|
|
29
|
+
Anthropic retains all right, title, and interest in these materials,
|
|
30
|
+
including all copyrights, patents, and other intellectual property rights.
|