@rfxlamia/skillkit 1.0.0 → 1.2.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/agents/agents/creative-copywriter.md +212 -0
- package/agents/agents/dario-amodei.md +135 -0
- package/agents/agents/doc-simplifier.md +63 -0
- package/agents/agents/kotlin-pro.md +433 -0
- package/agents/agents/red-team.md +136 -0
- package/agents/agents/sam-altman.md +121 -0
- package/agents/agents/seo-manager.md +184 -0
- package/package.json +7 -2
- package/skills/quick-spec/tests/__pycache__/test_skill.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skillkit/.claude/settings.local.json +7 -0
- package/skills/skillkit/scripts/__pycache__/decision_helper.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/__pycache__/quick_validate.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/__pycache__/test_generator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-314.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-312.pyc +0 -0
- package/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-314.pyc +0 -0
- package/skills/skillkit-help/SKILL.md +81 -0
- package/skills/skillkit-help/knowledge/application/09-case-studies.md +257 -0
- package/skills/skillkit-help/knowledge/application/12-testing-and-validation.md +276 -0
- package/skills/skillkit-help/knowledge/foundation/01-why-skills-exist.md +246 -0
- package/skills/skillkit-help/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
- package/skills/skillkit-help/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
- package/skills/skillkit-help/knowledge/foundation/06-platform-constraints.md +237 -0
- package/skills/skillkit-help/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
- package/skills/skillkit-help/template/SKILL.md +52 -0
- package/skills/skills/adversarial-review/SKILL.md +219 -0
- package/skills/skills/baby-education/SKILL.md +260 -0
- package/skills/skills/baby-education/references/advanced-techniques.md +323 -0
- package/skills/skills/baby-education/references/transformations.md +345 -0
- package/skills/skills/been-there-done-that/SKILL.md +455 -0
- package/skills/skills/been-there-done-that/references/analysis-patterns.md +162 -0
- package/skills/skills/been-there-done-that/references/git-commands.md +132 -0
- package/skills/skills/been-there-done-that/references/tree-insertion-logic.md +145 -0
- package/skills/skills/coolhunter/SKILL.md +270 -0
- package/skills/skills/coolhunter/assets/elicitation-methods.csv +51 -0
- package/skills/skills/coolhunter/knowledge/elicitation-methods.md +312 -0
- package/skills/skills/coolhunter/references/workflow-execution.md +238 -0
- package/skills/skills/coolhunter/workflow-plan-coolhunter.md +232 -0
- package/skills/skills/creative-copywriting/SKILL.md +324 -0
- package/skills/skills/creative-copywriting/databases/README.md +60 -0
- package/skills/skills/creative-copywriting/databases/carousel-structures.csv +16 -0
- package/skills/skills/creative-copywriting/databases/emotional-arcs.csv +11 -0
- package/skills/skills/creative-copywriting/databases/hook-formulas.csv +51 -0
- package/skills/skills/creative-copywriting/databases/power-words.csv +201 -0
- package/skills/skills/creative-copywriting/databases/psychological-triggers.csv +21 -0
- package/skills/skills/creative-copywriting/databases/read-more-patterns.csv +26 -0
- package/skills/skills/creative-copywriting/databases/swipe-triggers.csv +31 -0
- package/skills/skills/creative-copywriting/references/carousel-psychology.md +223 -0
- package/skills/skills/creative-copywriting/references/hook-anatomy.md +169 -0
- package/skills/skills/creative-copywriting/references/power-word-science.md +134 -0
- package/skills/skills/creative-copywriting/references/storytelling-frameworks.md +157 -0
- package/skills/skills/diverse-content-gen/SKILL.md +201 -0
- package/skills/skills/diverse-content-gen/references/advanced-techniques.md +320 -0
- package/skills/skills/diverse-content-gen/references/research-findings.md +379 -0
- package/skills/skills/diverse-content-gen/references/task-workflows.md +241 -0
- package/skills/skills/diverse-content-gen/references/tool-integration.md +419 -0
- package/skills/skills/diverse-content-gen/references/troubleshooting.md +426 -0
- package/skills/skills/diverse-content-gen/references/vs-core-technique.md +240 -0
- package/skills/skills/framework-critical-thinking/SKILL.md +220 -0
- package/skills/skills/framework-critical-thinking/references/bias_detector.md +375 -0
- package/skills/skills/framework-critical-thinking/references/fallback_handler.md +239 -0
- package/skills/skills/framework-critical-thinking/references/memory_curator.md +161 -0
- package/skills/skills/framework-critical-thinking/references/metacognitive_monitor.md +297 -0
- package/skills/skills/framework-critical-thinking/references/producer_critic_orchestrator.md +333 -0
- package/skills/skills/framework-critical-thinking/references/reasoning_router.md +235 -0
- package/skills/skills/framework-critical-thinking/references/reasoning_validator.md +97 -0
- package/skills/skills/framework-critical-thinking/references/reflection_trigger.md +78 -0
- package/skills/skills/framework-critical-thinking/references/self_verification.md +388 -0
- package/skills/skills/framework-critical-thinking/references/uncertainty_quantifier.md +207 -0
- package/skills/skills/framework-initiative/SKILL.md +231 -0
- package/skills/skills/framework-initiative/references/examples.md +150 -0
- package/skills/skills/framework-initiative/references/impact-analysis.md +157 -0
- package/skills/skills/framework-initiative/references/intent-patterns.md +145 -0
- package/skills/skills/framework-initiative/references/star-framework.md +165 -0
- package/skills/skills/humanize-docs/SKILL.md +203 -0
- package/skills/skills/humanize-docs/references/advanced-techniques.md +13 -0
- package/skills/skills/humanize-docs/references/core-transformations.md +368 -0
- package/skills/skills/humanize-docs/references/detection-patterns.md +400 -0
- package/skills/skills/humanize-docs/references/examples-gallery.md +374 -0
- package/skills/skills/imagine/SKILL.md +190 -0
- package/skills/skills/imagine/references/artstyle-corporate-memphis.md +625 -0
- package/skills/skills/imagine/references/artstyle-crewdson-hyperrealism.md +295 -0
- package/skills/skills/imagine/references/artstyle-iphone-social-media.md +426 -0
- package/skills/skills/imagine/references/artstyle-sciencesaru.md +276 -0
- package/skills/skills/pre-deploy-checklist/README.md +26 -0
- package/skills/skills/pre-deploy-checklist/SKILL.md +153 -0
- package/skills/skills/pre-deploy-checklist/references/checklist-categories.md +174 -0
- package/skills/skills/pre-deploy-checklist/references/domain-prompts.md +216 -0
- package/skills/skills/prompt-engineering/SKILL.md +209 -0
- package/skills/skills/prompt-engineering/references/advanced-combinations.md +444 -0
- package/skills/skills/prompt-engineering/references/chain-of-thought.md +140 -0
- package/skills/skills/prompt-engineering/references/decision_matrix.md +220 -0
- package/skills/skills/prompt-engineering/references/few-shot.md +346 -0
- package/skills/skills/prompt-engineering/references/json-format.md +270 -0
- package/skills/skills/prompt-engineering/references/natural-language.md +420 -0
- package/skills/skills/prompt-engineering/references/pitfalls.md +365 -0
- package/skills/skills/prompt-engineering/references/prompt-chaining.md +498 -0
- package/skills/skills/prompt-engineering/references/react.md +108 -0
- package/skills/skills/prompt-engineering/references/self-consistency.md +322 -0
- package/skills/skills/prompt-engineering/references/tree-of-thoughts.md +386 -0
- package/skills/skills/prompt-engineering/references/xml-format.md +220 -0
- package/skills/skills/prompt-engineering/references/yaml-format.md +488 -0
- package/skills/skills/prompt-engineering/references/zero-shot.md +74 -0
- package/skills/skills/quick-spec/SKILL.md +280 -0
- package/skills/skills/quick-spec/assets/tech-spec-template.md +74 -0
- package/skills/skills/quick-spec/references/step-01-understand.md +189 -0
- package/skills/skills/quick-spec/references/step-02-investigate.md +144 -0
- package/skills/skills/quick-spec/references/step-03-generate.md +128 -0
- package/skills/skills/quick-spec/references/step-04-review.md +173 -0
- package/skills/skills/quick-spec/tests/__pycache__/test_skill.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skills/quick-spec/tests/test_scenarios.md +83 -0
- package/skills/skills/quick-spec/tests/test_skill.py +136 -0
- package/skills/skills/readme-expert/SKILL.md +538 -0
- package/skills/skills/readme-expert/knowledge/INDEX.md +192 -0
- package/skills/skills/readme-expert/knowledge/application/quality-standards.md +470 -0
- package/skills/skills/readme-expert/knowledge/application/script-executor.md +604 -0
- package/skills/skills/readme-expert/knowledge/application/template-library.md +822 -0
- package/skills/skills/readme-expert/knowledge/foundation/codebase-scanner.md +361 -0
- package/skills/skills/readme-expert/knowledge/foundation/validation-checklist.md +481 -0
- package/skills/skills/red-teaming/SKILL.md +321 -0
- package/skills/skills/red-teaming/references/ai-llm-redteam.md +517 -0
- package/skills/skills/red-teaming/references/attack-techniques.md +410 -0
- package/skills/skills/red-teaming/references/cybersecurity-redteam.md +383 -0
- package/skills/skills/red-teaming/references/tools-frameworks.md +446 -0
- package/skills/skills/releasing/.skillkit-mode +1 -0
- package/skills/skills/releasing/SKILL.md +225 -0
- package/skills/skills/releasing/references/version-detection.md +108 -0
- package/skills/skills/screenwriter/SKILL.md +273 -0
- package/skills/skills/screenwriter/references/advanced-techniques.md +216 -0
- package/skills/skills/screenwriter/references/pipeline-integration.md +266 -0
- package/skills/skills/skillkit/.claude/settings.local.json +7 -0
- package/skills/skills/skillkit/.claude-plugin/plugin.json +27 -0
- package/skills/skills/skillkit/CHANGELOG.md +484 -0
- package/skills/skills/skillkit/SKILL.md +511 -0
- package/skills/skills/skillkit/commands/skillkit.md +6 -0
- package/skills/skills/skillkit/commands/validate-plan.md +6 -0
- package/skills/skills/skillkit/commands/verify.md +6 -0
- package/skills/skills/skillkit/knowledge/INDEX.md +352 -0
- package/skills/skills/skillkit/knowledge/application/09-case-studies.md +257 -0
- package/skills/skills/skillkit/knowledge/application/10-technical-architecture.md +324 -0
- package/skills/skills/skillkit/knowledge/application/11-adoption-strategy.md +267 -0
- package/skills/skills/skillkit/knowledge/application/12-testing-and-validation.md +276 -0
- package/skills/skills/skillkit/knowledge/application/13-competitive-landscape.md +198 -0
- package/skills/skills/skillkit/knowledge/foundation/01-why-skills-exist.md +246 -0
- package/skills/skills/skillkit/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
- package/skills/skills/skillkit/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
- package/skills/skills/skillkit/knowledge/foundation/04-hybrid-patterns.md +308 -0
- package/skills/skills/skillkit/knowledge/foundation/05-token-economics.md +275 -0
- package/skills/skills/skillkit/knowledge/foundation/06-platform-constraints.md +237 -0
- package/skills/skills/skillkit/knowledge/foundation/07-security-concerns.md +322 -0
- package/skills/skills/skillkit/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
- package/skills/skills/skillkit/knowledge/plugin-guide.md +614 -0
- package/skills/skills/skillkit/knowledge/tools/14-validation-tools-guide.md +150 -0
- package/skills/skills/skillkit/knowledge/tools/15-cost-tools-guide.md +157 -0
- package/skills/skills/skillkit/knowledge/tools/16-security-tools-guide.md +122 -0
- package/skills/skills/skillkit/knowledge/tools/17-pattern-tools-guide.md +161 -0
- package/skills/skills/skillkit/knowledge/tools/18-decision-helper-guide.md +243 -0
- package/skills/skills/skillkit/knowledge/tools/19-test-generator-guide.md +275 -0
- package/skills/skills/skillkit/knowledge/tools/20-split-skill-guide.md +149 -0
- package/skills/skills/skillkit/knowledge/tools/21-quality-scorer-guide.md +226 -0
- package/skills/skills/skillkit/knowledge/tools/22-migration-helper-guide.md +356 -0
- package/skills/skills/skillkit/knowledge/tools/23-subagent-creation-guide.md +448 -0
- package/skills/skills/skillkit/knowledge/tools/24-behavioral-testing-guide.md +122 -0
- package/skills/skills/skillkit/references/proposal-generation.md +982 -0
- package/skills/skills/skillkit/references/rationalization-catalog.md +75 -0
- package/skills/skills/skillkit/references/research-methodology.md +661 -0
- package/skills/skills/skillkit/references/section-2-full-creation-workflow.md +452 -0
- package/skills/skills/skillkit/references/section-3-validation-workflow-existing-skill.md +63 -0
- package/skills/skills/skillkit/references/section-4-decision-workflow-skills-vs-subagents.md +64 -0
- package/skills/skills/skillkit/references/section-5-migration-workflow-doc-to-skill.md +58 -0
- package/skills/skills/skillkit/references/section-6-subagent-creation-workflow.md +499 -0
- package/skills/skills/skillkit/references/section-7-knowledge-reference-map.md +72 -0
- package/skills/skills/skillkit/scripts/__pycache__/decision_helper.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/__pycache__/quick_validate.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/__pycache__/quick_validate.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/__pycache__/test_generator.cpython-314-pytest-9.0.2.pyc +0 -0
- package/skills/skills/skillkit/scripts/decision_helper.py +799 -0
- package/skills/skills/skillkit/scripts/init_skill.py +400 -0
- package/skills/skills/skillkit/scripts/init_subagent.py +231 -0
- package/skills/skills/skillkit/scripts/migration_helper.py +669 -0
- package/skills/skills/skillkit/scripts/package_skill.py +211 -0
- package/skills/skills/skillkit/scripts/pattern_detector.py +381 -0
- package/skills/skills/skillkit/scripts/pattern_detector_new.py +382 -0
- package/skills/skills/skillkit/scripts/pressure_tester.py +157 -0
- package/skills/skills/skillkit/scripts/quality_scorer.py +999 -0
- package/skills/skills/skillkit/scripts/quick_validate.py +100 -0
- package/skills/skills/skillkit/scripts/security_scanner.py +474 -0
- package/skills/skills/skillkit/scripts/split_skill.py +540 -0
- package/skills/skills/skillkit/scripts/test_generator.py +695 -0
- package/skills/skills/skillkit/scripts/token_estimator.py +493 -0
- package/skills/skills/skillkit/scripts/utils/__init__.py +49 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/__init__.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/budget_tracker.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/output_formatter.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-312.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/__pycache__/reference_validator.cpython-314.pyc +0 -0
- package/skills/skills/skillkit/scripts/utils/budget_tracker.py +388 -0
- package/skills/skills/skillkit/scripts/utils/output_formatter.py +263 -0
- package/skills/skills/skillkit/scripts/utils/reference_validator.py +401 -0
- package/skills/skills/skillkit/scripts/validate_skill.py +594 -0
- package/skills/skills/skillkit/tests/test_behavioral.py +39 -0
- package/skills/skills/skillkit/tests/test_scenarios.md +83 -0
- package/skills/skills/skillkit/tests/test_skill.py +136 -0
- package/skills/skills/skillkit-help/SKILL.md +81 -0
- package/skills/skills/skillkit-help/knowledge/application/09-case-studies.md +257 -0
- package/skills/skills/skillkit-help/knowledge/application/12-testing-and-validation.md +276 -0
- package/skills/skills/skillkit-help/knowledge/foundation/01-why-skills-exist.md +246 -0
- package/skills/skills/skillkit-help/knowledge/foundation/02-skills-vs-subagents-comparison.md +312 -0
- package/skills/skills/skillkit-help/knowledge/foundation/03-skills-vs-subagents-decision-tree.md +346 -0
- package/skills/skills/skillkit-help/knowledge/foundation/06-platform-constraints.md +237 -0
- package/skills/skills/skillkit-help/knowledge/foundation/08-when-not-to-use-skills.md +270 -0
- package/skills/skills/skillkit-help/template/SKILL.md +52 -0
- package/skills/skills/social-media-seo/SKILL.md +278 -0
- package/skills/skills/social-media-seo/databases/caption-styles.csv +31 -0
- package/skills/skills/social-media-seo/databases/engagement-tactics.csv +16 -0
- package/skills/skills/social-media-seo/databases/hashtag-strategies.csv +21 -0
- package/skills/skills/social-media-seo/databases/hook-formulas.csv +26 -0
- package/skills/skills/social-media-seo/databases/keyword-clusters.csv +11 -0
- package/skills/skills/social-media-seo/databases/thread-structures.csv +26 -0
- package/skills/skills/social-media-seo/databases/viral-patterns.csv +21 -0
- package/skills/skills/social-media-seo/references/analytics-guide.md +321 -0
- package/skills/skills/social-media-seo/references/instagram-seo.md +235 -0
- package/skills/skills/social-media-seo/references/threads-seo.md +305 -0
- package/skills/skills/social-media-seo/references/x-twitter-seo.md +337 -0
- package/skills/skills/social-media-seo/scripts/query_database.py +191 -0
- package/skills/skills/storyteller/SKILL.md +241 -0
- package/skills/skills/storyteller/references/transformation-methodology.md +293 -0
- package/skills/skills/storyteller/references/visual-vocabulary.md +177 -0
- package/skills/skills/thread-pro/SKILL.md +162 -0
- package/skills/skills/thread-pro/anti-ai-patterns.md +120 -0
- package/skills/skills/thread-pro/hook-formulas.md +138 -0
- package/skills/skills/thread-pro/references/anti-ai-patterns.md +120 -0
- package/skills/skills/thread-pro/references/hook-formulas.md +138 -0
- package/skills/skills/thread-pro/references/thread-structures.md +240 -0
- package/skills/skills/thread-pro/references/voice-injection.md +130 -0
- package/skills/skills/thread-pro/thread-structures.md +240 -0
- package/skills/skills/thread-pro/voice-injection.md +130 -0
- package/skills/skills/tinkering/SKILL.md +251 -0
- package/skills/skills/tinkering/references/graduation-checklist.md +100 -0
- package/skills/skills/validate-plan/.skillkit-mode +1 -0
- package/skills/skills/validate-plan/SKILL.md +406 -0
- package/skills/skills/validate-plan/references/dry-principles.md +251 -0
- package/skills/skills/validate-plan/references/gap-analysis-guide.md +320 -0
- package/skills/skills/validate-plan/references/tdd-patterns.md +413 -0
- package/skills/skills/validate-plan/references/yagni-checklist.md +330 -0
- package/skills/skills/verify-before-ship/.skillkit-mode +1 -0
- package/skills/skills/verify-before-ship/SKILL.md +116 -0
- package/skills/skills/verify-before-ship/references/anti-rationalization.md +212 -0
- package/skills/skills/verify-before-ship/references/verification-gates.md +305 -0
- package/skills-manifest.json +8 -2
- package/src/banner.js +1 -1
- package/src/cli.js +15 -4
- package/src/install.js +45 -29
- package/src/install.test.js +75 -7
- package/src/picker.js +15 -4
- package/src/picker.test.js +36 -1
- package/src/scope.js +8 -39
- package/src/scope.test.js +9 -13
- package/src/tools.js +76 -0
- package/src/tools.test.js +80 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Token Economics: Cost Analysis Skills vs Subagents"
|
|
3
|
+
purpose: "Understanding cost implications and optimization strategies"
|
|
4
|
+
token_estimate: "2500"
|
|
5
|
+
read_priority: "high"
|
|
6
|
+
read_when:
|
|
7
|
+
- "User asking about costs"
|
|
8
|
+
- "User asking 'How much will this cost?'"
|
|
9
|
+
- "Budget planning"
|
|
10
|
+
- "ROI calculation needed"
|
|
11
|
+
- "Optimizing existing implementation"
|
|
12
|
+
- "Comparing cost of approaches"
|
|
13
|
+
related_files:
|
|
14
|
+
must_read_first:
|
|
15
|
+
- "02-skills-vs-subagents-comparison.md"
|
|
16
|
+
read_together:
|
|
17
|
+
- "04-hybrid-patterns.md"
|
|
18
|
+
read_next: []
|
|
19
|
+
avoid_reading_when:
|
|
20
|
+
- "User not concerned with costs"
|
|
21
|
+
- "Cost not decision factor"
|
|
22
|
+
- "Just exploring concepts"
|
|
23
|
+
last_updated: "2025-11-01"
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# Token Economics: Cost Analysis Skills vs Subagents
|
|
27
|
+
|
|
28
|
+
## I. INTRODUCTION
|
|
29
|
+
|
|
30
|
+
Token efficiency is a foundational advantage of Skills vs traditional approaches. Understanding token economics is critical for budget planning, architecture decisions, and cost optimization strategies.
|
|
31
|
+
|
|
32
|
+
**Key Insight:** Skills use progressive disclosure for extreme efficiency (30-50 tokens overhead). Subagents use dedicated context windows (15× token multiplier). Neither approach is inherently "expensive" - appropriateness depends on use case frequency and value.
|
|
33
|
+
|
|
34
|
+
**Pricing Context (Claude Sonnet 4.5):**
|
|
35
|
+
- Input: $3 per million tokens
|
|
36
|
+
- Output: $15 per million tokens
|
|
37
|
+
|
|
38
|
+
**For architectural differences, see:** `02-skills-vs-subagents-comparison.md`
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## II. SKILLS TOKEN MODEL
|
|
43
|
+
|
|
44
|
+
### A. Progressive Disclosure Architecture (3 Levels)
|
|
45
|
+
|
|
46
|
+
**Level 1 - Metadata (Always Loaded):**
|
|
47
|
+
- Content: YAML frontmatter (name + description)
|
|
48
|
+
- Token Cost: ~50 tokens per skill
|
|
49
|
+
- When: Startup, every conversation
|
|
50
|
+
- Purpose: Enable automatic discovery
|
|
51
|
+
|
|
52
|
+
**Level 2 - Instructions (Triggered Loading):**
|
|
53
|
+
- Content: Full SKILL.md body
|
|
54
|
+
- Token Cost: <5,000 tokens (typically 800-2,800)
|
|
55
|
+
- When: Skill determined relevant
|
|
56
|
+
- Mechanism: `bash: read skill-name/SKILL.md`
|
|
57
|
+
|
|
58
|
+
**Level 3+ - Resources (On-Demand):**
|
|
59
|
+
- Content: References, documentation, datasets
|
|
60
|
+
- Token Cost: 0 until accessed
|
|
61
|
+
- When: Explicitly needed
|
|
62
|
+
- Critical: Scripts execute WITHOUT loading contents - only output costs tokens
|
|
63
|
+
|
|
64
|
+
### B. Token Efficiency Breakdown
|
|
65
|
+
|
|
66
|
+
**Idle State (Skills Installed, Not Used):**
|
|
67
|
+
```
|
|
68
|
+
50 skills installed
|
|
69
|
+
Each: ~50 tokens metadata
|
|
70
|
+
Total overhead: 2,500 tokens
|
|
71
|
+
Cost: $0.0075 per conversation
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Active State (Skill Triggered):**
|
|
75
|
+
```
|
|
76
|
+
Metadata: 50 tokens
|
|
77
|
+
SKILL.md body: 800 tokens
|
|
78
|
+
Total: 850 tokens
|
|
79
|
+
Cost: $0.00255 per use
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**Heavy Usage (With References):**
|
|
83
|
+
```
|
|
84
|
+
Metadata: 50 tokens
|
|
85
|
+
SKILL.md: 800 tokens
|
|
86
|
+
Reference file: 1,200 tokens
|
|
87
|
+
Total: 2,050 tokens
|
|
88
|
+
Cost: $0.00615 per use
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### C. Real-World Example: PDF Processing Skill
|
|
92
|
+
|
|
93
|
+
**Startup Loading:**
|
|
94
|
+
- Description: "Extract text from PDFs, fill forms, merge documents"
|
|
95
|
+
- Tokens: 50
|
|
96
|
+
- Impact: Every conversation
|
|
97
|
+
|
|
98
|
+
**User Request:** "Extract text from this PDF"
|
|
99
|
+
|
|
100
|
+
**Skill Activation:**
|
|
101
|
+
- Read SKILL.md: 800 tokens
|
|
102
|
+
- Determines form filling NOT needed → FORMS.md: 0 tokens (not accessed)
|
|
103
|
+
- Execute extraction script output: ~200 tokens
|
|
104
|
+
- Total: 1,050 tokens
|
|
105
|
+
|
|
106
|
+
**Cost Calculation:**
|
|
107
|
+
- Input tokens: 850 (metadata + SKILL.md)
|
|
108
|
+
- Output tokens: 200 (extraction results)
|
|
109
|
+
- Cost: (850 × $3/M) + (200 × $15/M) = $0.00255 + $0.003 = $0.00555
|
|
110
|
+
|
|
111
|
+
### D. Scaling Characteristics
|
|
112
|
+
|
|
113
|
+
**Installing Many Skills:**
|
|
114
|
+
- 10 skills: ~500 tokens overhead
|
|
115
|
+
- 50 skills: ~2,500 tokens overhead
|
|
116
|
+
- 100 skills: ~5,000 tokens overhead
|
|
117
|
+
- Cost negligible until triggered
|
|
118
|
+
|
|
119
|
+
**Key Advantage:** Unlimited bundled content (references, documentation, examples) with ZERO token penalty until accessed. Can include comprehensive materials without context window impact.
|
|
120
|
+
|
|
121
|
+
**For optimization strategies combining multiple skills, see:** `04-hybrid-patterns.md`
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## III. SUBAGENTS TOKEN MODEL
|
|
126
|
+
|
|
127
|
+
### A. Full Context Architecture
|
|
128
|
+
|
|
129
|
+
**Dedicated Context Window:**
|
|
130
|
+
Subagents operate with separate, isolated context window containing:
|
|
131
|
+
- Complete system prompt (1,500-3,000 tokens)
|
|
132
|
+
- Full conversation history with subagent
|
|
133
|
+
- All intermediate steps and reasoning
|
|
134
|
+
- Final output synthesis
|
|
135
|
+
|
|
136
|
+
**No Progressive Disclosure:** Unlike Skills, subagents load entire context immediately. All instructions present throughout conversation.
|
|
137
|
+
|
|
138
|
+
### B. Token Consumption Breakdown
|
|
139
|
+
|
|
140
|
+
**Single Subagent Invocation:**
|
|
141
|
+
```
|
|
142
|
+
System prompt: 2,000 tokens
|
|
143
|
+
User query: 100 tokens
|
|
144
|
+
Subagent reasoning: 500 tokens (multiple turns)
|
|
145
|
+
Intermediate steps: 1,500 tokens
|
|
146
|
+
Final output: 300 tokens
|
|
147
|
+
Conversation history: 2,000 tokens
|
|
148
|
+
Total: ~6,400 tokens per invocation
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Cost Calculation:**
|
|
152
|
+
- Input: 6,100 tokens × $3/M = $0.0183
|
|
153
|
+
- Output: 300 tokens × $15/M = $0.0045
|
|
154
|
+
- Total: ~$0.023 per invocation
|
|
155
|
+
|
|
156
|
+
### C. Multi-Agent Multiplier Effect
|
|
157
|
+
|
|
158
|
+
**Critical Finding:** Multi-agent systems use approximately **15× more tokens** than single conversations.
|
|
159
|
+
|
|
160
|
+
**Why 15× Multiplier:**
|
|
161
|
+
1. Each agent: Dedicated context window
|
|
162
|
+
2. Orchestration overhead: Agent coordination
|
|
163
|
+
3. Context sharing: Information passed between agents
|
|
164
|
+
4. Synthesis: Combining outputs
|
|
165
|
+
5. Iteration: Multi-turn agent interactions
|
|
166
|
+
|
|
167
|
+
**Example: 3-Agent System**
|
|
168
|
+
```
|
|
169
|
+
Main conversation: 2,000 tokens
|
|
170
|
+
Agent A context: 5,000 tokens
|
|
171
|
+
Agent B context: 4,500 tokens
|
|
172
|
+
Agent C context: 4,000 tokens
|
|
173
|
+
Orchestration: 1,500 tokens
|
|
174
|
+
Synthesis: 1,000 tokens
|
|
175
|
+
Total: ~18,000 tokens (9× single conversation)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**When 15× Justified:**
|
|
179
|
+
- Complex, high-value workflows
|
|
180
|
+
- Infrequent operations (not every conversation)
|
|
181
|
+
- Quality improvement outweighs cost
|
|
182
|
+
- Validated: Anthropic research shows 90.2% performance improvement Opus 4 + Sonnet 4 subagents
|
|
183
|
+
|
|
184
|
+
### D. Cost-Benefit Analysis
|
|
185
|
+
|
|
186
|
+
**Subagent Strengths:**
|
|
187
|
+
- Isolated context prevents pollution
|
|
188
|
+
- Specialized expertise per agent
|
|
189
|
+
- Parallel processing capability
|
|
190
|
+
- Superior for multi-step reasoning
|
|
191
|
+
|
|
192
|
+
**Cost Reality:**
|
|
193
|
+
- 7-15× more expensive than Skills
|
|
194
|
+
- Justified for complex workflows
|
|
195
|
+
- NOT appropriate for frequent, simple tasks
|
|
196
|
+
- Use Skills for utilities, Subagents for orchestration
|
|
197
|
+
|
|
198
|
+
**Validated Example:** Subagent system prompt reduced 65% (803→281 lines) with zero functionality lost by extracting templates to Skills.
|
|
199
|
+
|
|
200
|
+
**For decision framework, see:** `03-skills-vs-subagents-decision-tree.md`
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## IV. COST COMPARISON SCENARIOS
|
|
205
|
+
|
|
206
|
+
**Comparison Table: Skills vs Subagents vs Hybrid**
|
|
207
|
+
|
|
208
|
+
| Scenario | Frequency | Skills Cost/Use | Subagents Cost/Use | Monthly Cost (Skills) | Monthly Cost (Subagents) | Winner | Key Reason |
|
|
209
|
+
|----------|-----------|-----------------|--------------------|-----------------------|--------------------------|--------|------------|
|
|
210
|
+
| **Brand Guidelines** (Apply standards to docs) | 100×/month | $0.00255 (850t) | $0.015 (5,000t) | $0.26 | $1.50 | Skills | 83% savings, frequent simple task |
|
|
211
|
+
| **Security Audit** (Multi-stage analysis) | 5×/month | $0.012 (4,000t) | $0.024 (8,000t) | $0.06 | $0.12 | Subagent | Multi-step reasoning, quality justified |
|
|
212
|
+
| **Data Pipeline** (Extract, transform, analyze) | 50×/month | N/A (cannot orchestrate) | $0.03 (10,000t) | N/A | $1.50 | **Hybrid: $1.10** | Subagent (6kt) + Skills (1.4kt) = 7.4kt optimal |
|
|
213
|
+
| **Document Processing** (PDF to Excel at scale) | 1,000×/month | $0.00255 (850t) | $0.015 (5,000t) | $2.55 | $15.00 | Skills | 83% savings at scale |
|
|
214
|
+
|
|
215
|
+
**Key Insights:**
|
|
216
|
+
- Frequent simple tasks → Skills (80%+ cost savings)
|
|
217
|
+
- Infrequent complex workflows → Subagents (capability justifies cost)
|
|
218
|
+
- Moderate complexity → Hybrid (optimizes both capability AND efficiency)
|
|
219
|
+
|
|
220
|
+
**For hybrid implementation patterns, see:** `04-hybrid-patterns.md`
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## V. OPTIMIZATION STRATEGIES
|
|
225
|
+
|
|
226
|
+
### Architecture Optimization
|
|
227
|
+
|
|
228
|
+
**1. Tiered Model Architecture**
|
|
229
|
+
Use Opus 4 for orchestration + Sonnet 4.5 subagents for execution. Research validated: 40-60% cost reduction while maintaining quality.
|
|
230
|
+
|
|
231
|
+
**2. Hybrid Pattern**
|
|
232
|
+
Subagents orchestrate workflows, Skills provide utilities. Best balance of capability and cost.
|
|
233
|
+
|
|
234
|
+
### Skills Optimization
|
|
235
|
+
|
|
236
|
+
**3. Extract Duplication to Skills**
|
|
237
|
+
Move common templates/knowledge from subagent prompts to Skills. Real validation: Subagent reduced 65% (803→281 lines) with zero functionality lost.
|
|
238
|
+
|
|
239
|
+
**4. Progressive Loading**
|
|
240
|
+
Structure Skills with granular references. Load only necessary sections. Avoid loading unused documentation.
|
|
241
|
+
|
|
242
|
+
### Routing Optimization
|
|
243
|
+
|
|
244
|
+
**5. Frequency-Based Routing**
|
|
245
|
+
Frequent tasks → Skills. Infrequent, complex tasks → Subagents. Use conditional invocation pattern for dynamic routing.
|
|
246
|
+
|
|
247
|
+
**6. Batch Processing**
|
|
248
|
+
Group similar tasks to amortize subagent context setup costs. Single subagent invocation handles multiple items.
|
|
249
|
+
|
|
250
|
+
### Monitoring & Iteration
|
|
251
|
+
|
|
252
|
+
**7. Track Actual Usage**
|
|
253
|
+
Monitor real token consumption. Optimize based on measured costs, not assumptions. Premature optimization wastes time - iterate based on data.
|
|
254
|
+
|
|
255
|
+
**For conditional invocation pattern, see:** `04-hybrid-patterns.md` (Pattern 3)
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
259
|
+
## WHEN TO READ NEXT
|
|
260
|
+
|
|
261
|
+
**For Implementation:**
|
|
262
|
+
- Hybrid patterns → `04-hybrid-patterns.md`
|
|
263
|
+
- Platform limits → `06-platform-constraints.md`
|
|
264
|
+
|
|
265
|
+
**For Decision Making:**
|
|
266
|
+
- Should I use Skills or Subagents? → `03-skills-vs-subagents-decision-tree.md`
|
|
267
|
+
- Conceptual differences → `02-skills-vs-subagents-comparison.md`
|
|
268
|
+
|
|
269
|
+
**For Strategic Context:**
|
|
270
|
+
- Why Skills exist → `01-why-skills-exist.md`
|
|
271
|
+
- Real-world validation → `case-studies.md`
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
**FILE END - Estimated Token Count: ~2,500 tokens (~218 lines)**
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Platform Constraints & Technical Limitations"
|
|
3
|
+
purpose: "Understanding technical limitations and workarounds"
|
|
4
|
+
token_estimate: "2000"
|
|
5
|
+
read_priority: "medium"
|
|
6
|
+
read_when:
|
|
7
|
+
- "User asking 'Can Skills do X?'"
|
|
8
|
+
- "Troubleshooting deployment issues"
|
|
9
|
+
- "Enterprise planning"
|
|
10
|
+
- "Team coordination questions"
|
|
11
|
+
- "Platform compatibility questions"
|
|
12
|
+
related_files:
|
|
13
|
+
must_read_first:
|
|
14
|
+
- "01-why-skills-exist.md"
|
|
15
|
+
read_together:
|
|
16
|
+
- "07-security-concerns.md"
|
|
17
|
+
read_next:
|
|
18
|
+
- "08-when-not-to-use-skills.md"
|
|
19
|
+
avoid_reading_when:
|
|
20
|
+
- "User just learning concepts"
|
|
21
|
+
- "Not yet implementing"
|
|
22
|
+
- "Personal use only (not team)"
|
|
23
|
+
last_updated: "2025-11-01"
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# Platform Constraints & Technical Limitations
|
|
27
|
+
|
|
28
|
+
## I. INTRODUCTION
|
|
29
|
+
|
|
30
|
+
Skills provide powerful extensibility but come with platform-specific constraints and technical limitations that must be understood for successful deployment, especially in enterprise contexts.
|
|
31
|
+
|
|
32
|
+
**Critical Dependencies:** Filesystem access (absolute requirement), Code execution environment (cannot function without), Platform-specific deployment methods (varies by Claude.ai/API/Code).
|
|
33
|
+
|
|
34
|
+
**Why This Matters:** Understanding limitations prevents unrealistic expectations, enables informed architecture decisions, and helps plan workarounds for deployment challenges.
|
|
35
|
+
|
|
36
|
+
**This file addresses practical constraints. For security risks, see:** `07-security-concerns.md`
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## II. DEPLOYMENT LIMITATIONS
|
|
41
|
+
|
|
42
|
+
### A. User Skills Only (No Organization-Wide Deployment)
|
|
43
|
+
|
|
44
|
+
**Current State (as of October 2025):** Custom skills are private to individual user accounts. No organization-wide deployment mechanism exists yet.
|
|
45
|
+
|
|
46
|
+
**Platform-Specific Methods:**
|
|
47
|
+
|
|
48
|
+
| Platform | Upload Method | Limit | Sharing |
|
|
49
|
+
|----------|---------------|-------|---------|
|
|
50
|
+
| Claude.ai/Desktop | Settings → Capabilities → Skills → Upload ZIP | 20 per user | Manual each user |
|
|
51
|
+
| Claude Code | Copy to `~/.claude/skills/` (personal) or `.claude/skills/` (project) | Unlimited | Git repository |
|
|
52
|
+
| API | `client.skills.create()` programmatic upload | Unlimited | Skill ID references |
|
|
53
|
+
|
|
54
|
+
**Enterprise Impact:** Teams of 10+ people require significant manual coordination. Version drift common without strict processes. Each team member must upload skills separately.
|
|
55
|
+
|
|
56
|
+
### B. Manual Distribution (No Centralized Marketplace)
|
|
57
|
+
|
|
58
|
+
**Distribution Methods Table:**
|
|
59
|
+
|
|
60
|
+
| Method | Best For | Pros | Cons |
|
|
61
|
+
|--------|----------|------|------|
|
|
62
|
+
| Git Repository | Team collaboration | Version control, auditability | Manual install still required |
|
|
63
|
+
| ZIP Files | Simple sharing | Easy distribution | No version tracking, no dependencies |
|
|
64
|
+
| Internal Portal | Large organizations | Centralized access | Still requires manual user action |
|
|
65
|
+
|
|
66
|
+
**Official Anthropic Skills:** Only 4 pre-built skills available (PowerPoint, Excel, Word, PDF), automatically enabled. Community skills: None officially curated yet.
|
|
67
|
+
|
|
68
|
+
**Marketplace Status:** No official Skills marketplace exists (as of October 2025). Enterprise-wide deployment capabilities listed as "coming soon" but not ready. Timeline unknown.
|
|
69
|
+
|
|
70
|
+
### C. Enterprise Deployment Challenges
|
|
71
|
+
|
|
72
|
+
**Key Problems:**
|
|
73
|
+
|
|
74
|
+
**Version Control:** No automated update mechanism. Teams must coordinate versions manually. Testing updates across team required. Rollback: Manual only.
|
|
75
|
+
|
|
76
|
+
**Governance:** No approval workflows, no audit trails for skill usage, no centralized management console. Compliance tracking: Custom solutions needed.
|
|
77
|
+
|
|
78
|
+
**Support:** No official debugging tools, limited error reporting. Troubleshooting requires technical expertise.
|
|
79
|
+
|
|
80
|
+
**For context on official skills, see:** `01-why-skills-exist.md`
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## III. TECHNICAL CONSTRAINTS
|
|
85
|
+
|
|
86
|
+
### A. Absolute Filesystem Dependency
|
|
87
|
+
|
|
88
|
+
**Core Requirement:** Skills REQUIRE filesystem access and code execution capabilities. Won't work without these features enabled.
|
|
89
|
+
|
|
90
|
+
**Platform Availability:**
|
|
91
|
+
|
|
92
|
+
| Platform | Filesystem | Code Execution | Skills Support |
|
|
93
|
+
|----------|------------|----------------|----------------|
|
|
94
|
+
| Claude.ai (Paid) | Yes | Yes | Full |
|
|
95
|
+
| Claude Desktop | Yes | Yes | Full |
|
|
96
|
+
| Claude Code CLI | Yes | Yes | Full |
|
|
97
|
+
| API (with betas) | Sandboxed | Sandboxed | Full |
|
|
98
|
+
| Claude.ai (Free) | No | No | NONE |
|
|
99
|
+
| Mobile Apps | Limited | No | NONE |
|
|
100
|
+
|
|
101
|
+
**Critical Distinction:** Biggest difference from previous approaches like MCP or ChatGPT Plugins which don't require code execution infrastructure.
|
|
102
|
+
|
|
103
|
+
### B. Platform-Specific Differences
|
|
104
|
+
|
|
105
|
+
**Comprehensive Comparison: Claude.ai vs API vs Code**
|
|
106
|
+
|
|
107
|
+
| Feature | Claude.ai/Desktop | Claude Code CLI | Anthropic API |
|
|
108
|
+
|---------|-------------------|-----------------|---------------|
|
|
109
|
+
| **Format** | ZIP file | Folder structure | ZIP file |
|
|
110
|
+
| **Skill Limit** | 20 per user | Unlimited | Unlimited |
|
|
111
|
+
| **Distribution** | Manual upload | Git/filesystem | Programmatic |
|
|
112
|
+
| **Network (Scripts)** | Yes (npm/PyPI install) | Yes | NO (sandboxed) |
|
|
113
|
+
| **External APIs** | Accessible | Accessible | NOT accessible |
|
|
114
|
+
| **Runtime Packages** | Install dynamically | Install dynamically | Pre-installed only |
|
|
115
|
+
| **Sharing** | Manual per user | Git repository | Skill ID refs |
|
|
116
|
+
|
|
117
|
+
**Critical API Limitation:** NO network access from code execution container. Cannot install packages at runtime. Only pre-installed packages available. Cannot access external APIs directly.
|
|
118
|
+
|
|
119
|
+
**Impact:** API deployments require pre-packaging ALL dependencies. Cannot dynamically fetch data during execution.
|
|
120
|
+
|
|
121
|
+
**For tool security boundaries with Subagents, see:** `02-skills-vs-subagents-comparison.md`
|
|
122
|
+
|
|
123
|
+
### C. Sandboxed Execution Environment
|
|
124
|
+
|
|
125
|
+
**Security Container:** All Skills run in sandboxed environment with restricted permissions.
|
|
126
|
+
|
|
127
|
+
**Default Restrictions:** No access to user's local filesystem (outside container), no system resources, no privileged operations, no persistent storage between conversations.
|
|
128
|
+
|
|
129
|
+
**Tool Permissions:** Use `allowed-tools` in YAML to restrict:
|
|
130
|
+
|
|
131
|
+
```yaml
|
|
132
|
+
allowed-tools: "Read,Write,Bash(git:*)"
|
|
133
|
+
# Allows: Read, Write, git commands only
|
|
134
|
+
# Blocks: other Bash commands
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Resource Limits:** Memory limited (exact limits undocumented), CPU shared, execution timeouts exist (not publicly specified), large files may cause issues.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## IV. EXECUTION LIMITATIONS
|
|
142
|
+
|
|
143
|
+
### A. Discovery and Triggering Issues
|
|
144
|
+
|
|
145
|
+
**LLM-Based Routing:** Skills use pure LLM-based discovery (no algorithmic selection). Claude evaluates skill descriptions against conversation context.
|
|
146
|
+
|
|
147
|
+
**Common Problems:**
|
|
148
|
+
|
|
149
|
+
**Vague Descriptions Prevent Activation:**
|
|
150
|
+
```yaml
|
|
151
|
+
# BAD (won't trigger reliably)
|
|
152
|
+
description: "Helps with documents"
|
|
153
|
+
|
|
154
|
+
# GOOD (clear triggers)
|
|
155
|
+
description: "Convert PDF files to Excel spreadsheets. Use when user mentions PDF conversion or Excel export"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
**Phrasing Mismatch:** User says "Transform PDF to spreadsheet" but skill description says "Convert documents to XLSX" → May not trigger.
|
|
159
|
+
|
|
160
|
+
**Solution:** Use multiple synonyms in description: "Convert, transform, export, change PDF files to Excel, XLSX, spreadsheet format"
|
|
161
|
+
|
|
162
|
+
**Balancing Act:** Descriptions must be specific enough to prevent false positives, broad enough to catch valid use cases.
|
|
163
|
+
|
|
164
|
+
### B. Script Best Practices
|
|
165
|
+
|
|
166
|
+
**Execution Model:** Scripts execute via bash. Output only (not code contents) consumes tokens.
|
|
167
|
+
|
|
168
|
+
**Key Practices:**
|
|
169
|
+
|
|
170
|
+
**1. Error Handling:**
|
|
171
|
+
```python
|
|
172
|
+
try:
|
|
173
|
+
result = process_data(input_file)
|
|
174
|
+
print(json.dumps({"status": "success", "result": result}))
|
|
175
|
+
except Exception as e:
|
|
176
|
+
print(json.dumps({"status": "error", "message": str(e)}))
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
**2. Structured Output:**
|
|
180
|
+
```python
|
|
181
|
+
# GOOD: JSON (easy parsing)
|
|
182
|
+
print(json.dumps({"findings": [...], "summary": "..."}))
|
|
183
|
+
|
|
184
|
+
# BAD: Unstructured text
|
|
185
|
+
print("Found some issues... maybe check line 45...")
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**API Constraint:** Remember sandboxed environment - no external network calls from scripts.
|
|
189
|
+
|
|
190
|
+
### C. Resource and Performance Considerations
|
|
191
|
+
|
|
192
|
+
**Observed Limits:** Single script execution ~5-10 minutes timeout. Memory sufficient for typical tasks, issues with large datasets (>1GB). Large files (>100MB) may be slow.
|
|
193
|
+
|
|
194
|
+
**Optimization:** Use progressive disclosure effectively. Keep SKILL.md lean, move heavy content to references.
|
|
195
|
+
|
|
196
|
+
**For token optimization strategies, see:** `05-token-economics.md`
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## V. WORKAROUNDS SUMMARY
|
|
201
|
+
|
|
202
|
+
**Key Solutions for Major Limitations:**
|
|
203
|
+
|
|
204
|
+
| Problem | Workaround |
|
|
205
|
+
|---------|------------|
|
|
206
|
+
| No org-wide deployment | Git repository + installation docs. Create setup scripts. |
|
|
207
|
+
| No marketplace | Internal skills library (Git). Curated collection with README. |
|
|
208
|
+
| Version synchronization | Semantic versioning in metadata. Team communication channel. Testing protocols. |
|
|
209
|
+
| API no network | Pre-package all data. Use main conversation to fetch external data (Claude web tools), pass to skill. |
|
|
210
|
+
| Discovery unreliable | Engineer descriptions with multiple synonyms. Test various phrasings. Include explicit triggers. |
|
|
211
|
+
| Platform differences | Document platform-specific behavior. Test on target platform. Provide platform instructions. |
|
|
212
|
+
| No governance | Internal approval process. Code review for all skills. Security audit checklist. |
|
|
213
|
+
| Resource limits | Split operations into chunks. Process incrementally. Use streaming where possible. |
|
|
214
|
+
|
|
215
|
+
**For enterprise adoption strategies, see:** `adoption-strategy.md` (when available)
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## WHEN TO READ NEXT
|
|
220
|
+
|
|
221
|
+
**For Security Concerns:**
|
|
222
|
+
- Security risks and mitigations → `07-security-concerns.md`
|
|
223
|
+
|
|
224
|
+
**For Decision Making:**
|
|
225
|
+
- When NOT to use Skills → `08-when-not-to-use-skills.md`
|
|
226
|
+
- Should I use Skills or Subagents? → `03-skills-vs-subagents-decision-tree.md`
|
|
227
|
+
|
|
228
|
+
**For Implementation:**
|
|
229
|
+
- Token optimization → `05-token-economics.md`
|
|
230
|
+
- Hybrid patterns → `04-hybrid-patterns.md`
|
|
231
|
+
|
|
232
|
+
**For Strategic Context:**
|
|
233
|
+
- Why Skills exist → `01-why-skills-exist.md`
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
**FILE END - Estimated Token Count: ~2,000 tokens (~236 lines)**
|