@elizaos/skills 2.0.0-alpha.21 → 2.0.0-alpha.211
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/README.md +4 -0
- package/dist/frontmatter.d.ts +13 -1
- package/dist/frontmatter.d.ts.map +1 -1
- package/dist/frontmatter.js +51 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +10 -3
- package/dist/resolver.d.ts +17 -0
- package/dist/resolver.d.ts.map +1 -1
- package/dist/resolver.js +54 -1
- package/dist/types.d.ts +38 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +57 -53
- package/skills/eliza-app-development/SKILL.md +62 -0
- package/skills/eliza-app-development/references/repo-map.md +70 -0
- package/skills/eliza-app-development/references/runtime-and-cloud.md +61 -0
- package/skills/eliza-cloud/SKILL.md +39 -0
- package/skills/eliza-cloud/references/apps-and-containers.md +73 -0
- package/skills/eliza-cloud/references/cloud-backend-and-monetization.md +99 -0
- package/skills/elizaos/SKILL.md +27 -0
- package/skills/elizaos/references/core-abstractions.md +101 -0
- package/skills/elizaos/references/plugin-development.md +74 -0
- package/skills/yara-authoring/SKILL.md +111 -0
- package/skills/bear-notes/SKILL.md +0 -107
- package/skills/bird/SKILL.md +0 -224
- package/skills/blogwatcher/SKILL.md +0 -69
- package/skills/clawhub/SKILL.md +0 -77
- package/skills/crow/SKILL.md +0 -261
- package/skills/crow/references/api-reference.md +0 -370
- package/skills/crow/references/card-payments.md +0 -124
- package/skills/crow/references/error-handling.md +0 -154
- package/skills/crow/references/x402-flow.md +0 -170
- package/skills/eightctl/SKILL.md +0 -50
- package/skills/food-order/SKILL.md +0 -48
- package/skills/gemini/SKILL.md +0 -43
- package/skills/gifgrep/SKILL.md +0 -79
- package/skills/gog/SKILL.md +0 -116
- package/skills/goplaces/SKILL.md +0 -52
- package/skills/himalaya/SKILL.md +0 -257
- package/skills/himalaya/references/configuration.md +0 -184
- package/skills/himalaya/references/message-composition.md +0 -199
- package/skills/local-places/SERVER_README.md +0 -101
- package/skills/local-places/SKILL.md +0 -102
- package/skills/local-places/pyproject.toml +0 -21
- package/skills/local-places/src/local_places/__init__.py +0 -2
- package/skills/local-places/src/local_places/google_places.py +0 -314
- package/skills/local-places/src/local_places/main.py +0 -65
- package/skills/local-places/src/local_places/schemas.py +0 -107
- package/skills/mcporter/SKILL.md +0 -61
- package/skills/model-usage/SKILL.md +0 -69
- package/skills/model-usage/references/codexbar-cli.md +0 -33
- package/skills/model-usage/scripts/model_usage.py +0 -310
- package/skills/nightmarket/SKILL.md +0 -145
- package/skills/nightmarket/references/api.md +0 -176
- package/skills/nightmarket/references/crow-payments.md +0 -67
- package/skills/nightmarket/references/mcp.md +0 -53
- package/skills/openai-image-gen/SKILL.md +0 -89
- package/skills/openai-image-gen/scripts/gen.py +0 -240
- package/skills/openai-whisper/SKILL.md +0 -38
- package/skills/openai-whisper-api/SKILL.md +0 -52
- package/skills/openai-whisper-api/scripts/transcribe.sh +0 -85
- package/skills/openhue/SKILL.md +0 -51
- package/skills/oracle/SKILL.md +0 -125
- package/skills/peekaboo/SKILL.md +0 -190
- package/skills/sag/SKILL.md +0 -87
- package/skills/security-ask-questions-if-underspecified/.claude-plugin/plugin.json +0 -10
- package/skills/security-ask-questions-if-underspecified/README.md +0 -24
- package/skills/security-ask-questions-if-underspecified/skills/ask-questions-if-underspecified/SKILL.md +0 -85
- package/skills/security-audit-context-building/.claude-plugin/plugin.json +0 -10
- package/skills/security-audit-context-building/README.md +0 -58
- package/skills/security-audit-context-building/commands/audit-context.md +0 -21
- package/skills/security-audit-context-building/skills/audit-context-building/SKILL.md +0 -297
- package/skills/security-audit-context-building/skills/audit-context-building/resources/COMPLETENESS_CHECKLIST.md +0 -47
- package/skills/security-audit-context-building/skills/audit-context-building/resources/FUNCTION_MICRO_ANALYSIS_EXAMPLE.md +0 -355
- package/skills/security-audit-context-building/skills/audit-context-building/resources/OUTPUT_REQUIREMENTS.md +0 -71
- package/skills/security-building-secure-contracts/.claude-plugin/plugin.json +0 -10
- package/skills/security-building-secure-contracts/README.md +0 -241
- package/skills/security-building-secure-contracts/skills/algorand-vulnerability-scanner/SKILL.md +0 -284
- package/skills/security-building-secure-contracts/skills/algorand-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md +0 -405
- package/skills/security-building-secure-contracts/skills/audit-prep-assistant/SKILL.md +0 -409
- package/skills/security-building-secure-contracts/skills/cairo-vulnerability-scanner/SKILL.md +0 -329
- package/skills/security-building-secure-contracts/skills/cairo-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md +0 -722
- package/skills/security-building-secure-contracts/skills/code-maturity-assessor/SKILL.md +0 -218
- package/skills/security-building-secure-contracts/skills/code-maturity-assessor/resources/ASSESSMENT_CRITERIA.md +0 -355
- package/skills/security-building-secure-contracts/skills/code-maturity-assessor/resources/EXAMPLE_REPORT.md +0 -248
- package/skills/security-building-secure-contracts/skills/code-maturity-assessor/resources/REPORT_FORMAT.md +0 -33
- package/skills/security-building-secure-contracts/skills/cosmos-vulnerability-scanner/SKILL.md +0 -334
- package/skills/security-building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md +0 -740
- package/skills/security-building-secure-contracts/skills/guidelines-advisor/SKILL.md +0 -252
- package/skills/security-building-secure-contracts/skills/guidelines-advisor/resources/ASSESSMENT_AREAS.md +0 -329
- package/skills/security-building-secure-contracts/skills/guidelines-advisor/resources/DELIVERABLES.md +0 -118
- package/skills/security-building-secure-contracts/skills/guidelines-advisor/resources/EXAMPLE_REPORT.md +0 -298
- package/skills/security-building-secure-contracts/skills/secure-workflow-guide/SKILL.md +0 -161
- package/skills/security-building-secure-contracts/skills/secure-workflow-guide/resources/EXAMPLE_REPORT.md +0 -279
- package/skills/security-building-secure-contracts/skills/secure-workflow-guide/resources/WORKFLOW_STEPS.md +0 -132
- package/skills/security-building-secure-contracts/skills/solana-vulnerability-scanner/SKILL.md +0 -389
- package/skills/security-building-secure-contracts/skills/solana-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md +0 -669
- package/skills/security-building-secure-contracts/skills/substrate-vulnerability-scanner/SKILL.md +0 -298
- package/skills/security-building-secure-contracts/skills/substrate-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md +0 -791
- package/skills/security-building-secure-contracts/skills/token-integration-analyzer/SKILL.md +0 -362
- package/skills/security-building-secure-contracts/skills/token-integration-analyzer/resources/ASSESSMENT_CATEGORIES.md +0 -571
- package/skills/security-building-secure-contracts/skills/token-integration-analyzer/resources/REPORT_TEMPLATES.md +0 -141
- package/skills/security-building-secure-contracts/skills/ton-vulnerability-scanner/SKILL.md +0 -388
- package/skills/security-building-secure-contracts/skills/ton-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md +0 -595
- package/skills/security-burpsuite-project-parser/.claude-plugin/plugin.json +0 -10
- package/skills/security-burpsuite-project-parser/README.md +0 -103
- package/skills/security-burpsuite-project-parser/commands/burp-search.md +0 -18
- package/skills/security-burpsuite-project-parser/skills/SKILL.md +0 -358
- package/skills/security-burpsuite-project-parser/skills/scripts/burp-search.sh +0 -99
- package/skills/security-claude-in-chrome-troubleshooting/.claude-plugin/plugin.json +0 -8
- package/skills/security-claude-in-chrome-troubleshooting/README.md +0 -31
- package/skills/security-claude-in-chrome-troubleshooting/skills/claude-in-chrome-troubleshooting/SKILL.md +0 -251
- package/skills/security-constant-time-analysis/.claude-plugin/plugin.json +0 -9
- package/skills/security-constant-time-analysis/README.md +0 -381
- package/skills/security-constant-time-analysis/commands/ct-check.md +0 -20
- package/skills/security-constant-time-analysis/ct_analyzer/__init__.py +0 -49
- package/skills/security-constant-time-analysis/ct_analyzer/analyzer.py +0 -1284
- package/skills/security-constant-time-analysis/ct_analyzer/script_analyzers.py +0 -3081
- package/skills/security-constant-time-analysis/ct_analyzer/tests/__init__.py +0 -1
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_analyzer.py +0 -1397
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/bn_excerpt.js +0 -205
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/decompose_constant_time.c +0 -181
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/decompose_vulnerable.c +0 -74
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/decompose_vulnerable.go +0 -78
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/decompose_vulnerable.rs +0 -92
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.cs +0 -174
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.java +0 -161
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.kt +0 -181
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.php +0 -140
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.py +0 -252
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.rb +0 -188
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.swift +0 -199
- package/skills/security-constant-time-analysis/ct_analyzer/tests/test_samples/vulnerable.ts +0 -154
- package/skills/security-constant-time-analysis/pyproject.toml +0 -52
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/README.md +0 -90
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/SKILL.md +0 -219
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/compiled.md +0 -129
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/javascript.md +0 -136
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/kotlin.md +0 -252
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/php.md +0 -172
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/python.md +0 -179
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/ruby.md +0 -198
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/swift.md +0 -288
- package/skills/security-constant-time-analysis/skills/constant-time-analysis/references/vm-compiled.md +0 -354
- package/skills/security-constant-time-analysis/uv.lock +0 -8
- package/skills/security-culture-index/.claude-plugin/plugin.json +0 -8
- package/skills/security-culture-index/README.md +0 -79
- package/skills/security-culture-index/skills/interpreting-culture-index/SKILL.md +0 -293
- package/skills/security-culture-index/skills/interpreting-culture-index/references/anti-patterns.md +0 -255
- package/skills/security-culture-index/skills/interpreting-culture-index/references/conversation-starters.md +0 -408
- package/skills/security-culture-index/skills/interpreting-culture-index/references/interview-trait-signals.md +0 -253
- package/skills/security-culture-index/skills/interpreting-culture-index/references/motivators.md +0 -158
- package/skills/security-culture-index/skills/interpreting-culture-index/references/patterns-archetypes.md +0 -147
- package/skills/security-culture-index/skills/interpreting-culture-index/references/primary-traits.md +0 -307
- package/skills/security-culture-index/skills/interpreting-culture-index/references/secondary-traits.md +0 -228
- package/skills/security-culture-index/skills/interpreting-culture-index/references/team-composition.md +0 -148
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/check_deps.py +0 -108
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/culture_index/__init__.py +0 -20
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/culture_index/constants.py +0 -122
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/culture_index/extract.py +0 -187
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/culture_index/models.py +0 -16
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/culture_index/opencv_extractor.py +0 -520
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/extract_pdf.py +0 -237
- package/skills/security-culture-index/skills/interpreting-culture-index/scripts/pyproject.toml +0 -18
- package/skills/security-culture-index/skills/interpreting-culture-index/templates/burnout-report.md +0 -113
- package/skills/security-culture-index/skills/interpreting-culture-index/templates/comparison-report.md +0 -103
- package/skills/security-culture-index/skills/interpreting-culture-index/templates/hiring-profile.md +0 -127
- package/skills/security-culture-index/skills/interpreting-culture-index/templates/individual-report.md +0 -85
- package/skills/security-culture-index/skills/interpreting-culture-index/templates/predicted-profile.md +0 -165
- package/skills/security-culture-index/skills/interpreting-culture-index/templates/team-report.md +0 -109
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/analyze-team.md +0 -188
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/coach-manager.md +0 -267
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/compare-profiles.md +0 -188
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/define-hiring-profile.md +0 -220
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/detect-burnout.md +0 -206
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/extract-from-pdf.md +0 -121
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/interpret-individual.md +0 -183
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/interview-debrief.md +0 -234
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/mediate-conflict.md +0 -306
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/plan-onboarding.md +0 -322
- package/skills/security-culture-index/skills/interpreting-culture-index/workflows/predict-from-interview.md +0 -250
- package/skills/security-differential-review/.claude-plugin/plugin.json +0 -10
- package/skills/security-differential-review/README.md +0 -109
- package/skills/security-differential-review/commands/diff-review.md +0 -21
- package/skills/security-differential-review/skills/differential-review/SKILL.md +0 -220
- package/skills/security-differential-review/skills/differential-review/adversarial.md +0 -203
- package/skills/security-differential-review/skills/differential-review/methodology.md +0 -234
- package/skills/security-differential-review/skills/differential-review/patterns.md +0 -300
- package/skills/security-differential-review/skills/differential-review/reporting.md +0 -369
- package/skills/security-dwarf-expert/.claude-plugin/plugin.json +0 -10
- package/skills/security-dwarf-expert/README.md +0 -38
- package/skills/security-dwarf-expert/skills/dwarf-expert/SKILL.md +0 -93
- package/skills/security-dwarf-expert/skills/dwarf-expert/reference/coding.md +0 -31
- package/skills/security-dwarf-expert/skills/dwarf-expert/reference/dwarfdump.md +0 -50
- package/skills/security-dwarf-expert/skills/dwarf-expert/reference/readelf.md +0 -8
- package/skills/security-entry-point-analyzer/.claude-plugin/plugin.json +0 -10
- package/skills/security-entry-point-analyzer/README.md +0 -74
- package/skills/security-entry-point-analyzer/commands/entry-points.md +0 -18
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/SKILL.md +0 -251
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/cosmwasm.md +0 -182
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/move-aptos.md +0 -107
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/move-sui.md +0 -87
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/solana.md +0 -155
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/solidity.md +0 -135
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/ton.md +0 -185
- package/skills/security-entry-point-analyzer/skills/entry-point-analyzer/references/vyper.md +0 -141
- package/skills/security-firebase-apk-scanner/.claude-plugin/plugin.json +0 -10
- package/skills/security-firebase-apk-scanner/README.md +0 -85
- package/skills/security-firebase-apk-scanner/commands/scan-apk.md +0 -18
- package/skills/security-firebase-apk-scanner/scanner.sh +0 -1408
- package/skills/security-firebase-apk-scanner/skills/firebase-apk-scanner/SKILL.md +0 -197
- package/skills/security-firebase-apk-scanner/skills/firebase-apk-scanner/references/vulnerabilities.md +0 -803
- package/skills/security-fix-review/.claude-plugin/plugin.json +0 -13
- package/skills/security-fix-review/README.md +0 -118
- package/skills/security-fix-review/commands/fix-review.md +0 -24
- package/skills/security-fix-review/skills/fix-review/SKILL.md +0 -264
- package/skills/security-fix-review/skills/fix-review/references/bug-detection.md +0 -408
- package/skills/security-fix-review/skills/fix-review/references/finding-matching.md +0 -298
- package/skills/security-fix-review/skills/fix-review/references/report-parsing.md +0 -398
- package/skills/security-insecure-defaults/.claude-plugin/plugin.json +0 -10
- package/skills/security-insecure-defaults/README.md +0 -45
- package/skills/security-insecure-defaults/skills/insecure-defaults/SKILL.md +0 -117
- package/skills/security-insecure-defaults/skills/insecure-defaults/references/examples.md +0 -409
- package/skills/security-modern-python/.claude-plugin/plugin.json +0 -10
- package/skills/security-modern-python/README.md +0 -58
- package/skills/security-modern-python/hooks/hooks.json +0 -16
- package/skills/security-modern-python/hooks/intercept-legacy-python.bats +0 -388
- package/skills/security-modern-python/hooks/intercept-legacy-python.sh +0 -109
- package/skills/security-modern-python/hooks/test_helper.bash +0 -75
- package/skills/security-modern-python/skills/modern-python/SKILL.md +0 -333
- package/skills/security-modern-python/skills/modern-python/references/dependabot.md +0 -43
- package/skills/security-modern-python/skills/modern-python/references/migration-checklist.md +0 -141
- package/skills/security-modern-python/skills/modern-python/references/pep723-scripts.md +0 -259
- package/skills/security-modern-python/skills/modern-python/references/prek.md +0 -211
- package/skills/security-modern-python/skills/modern-python/references/pyproject.md +0 -254
- package/skills/security-modern-python/skills/modern-python/references/ruff-config.md +0 -240
- package/skills/security-modern-python/skills/modern-python/references/security-setup.md +0 -255
- package/skills/security-modern-python/skills/modern-python/references/testing.md +0 -284
- package/skills/security-modern-python/skills/modern-python/references/uv-commands.md +0 -200
- package/skills/security-modern-python/skills/modern-python/templates/dependabot.yml +0 -36
- package/skills/security-modern-python/skills/modern-python/templates/pre-commit-config.yaml +0 -66
- package/skills/security-property-based-testing/.claude-plugin/plugin.json +0 -9
- package/skills/security-property-based-testing/README.md +0 -47
- package/skills/security-property-based-testing/skills/property-based-testing/README.md +0 -88
- package/skills/security-property-based-testing/skills/property-based-testing/SKILL.md +0 -109
- package/skills/security-property-based-testing/skills/property-based-testing/references/design.md +0 -191
- package/skills/security-property-based-testing/skills/property-based-testing/references/generating.md +0 -200
- package/skills/security-property-based-testing/skills/property-based-testing/references/libraries.md +0 -130
- package/skills/security-property-based-testing/skills/property-based-testing/references/refactoring.md +0 -181
- package/skills/security-property-based-testing/skills/property-based-testing/references/reviewing.md +0 -209
- package/skills/security-property-based-testing/skills/property-based-testing/references/strategies.md +0 -124
- package/skills/semgrep-rule-creator/.claude-plugin/plugin.json +0 -8
- package/skills/semgrep-rule-creator/README.md +0 -43
- package/skills/semgrep-rule-creator/commands/semgrep-rule.md +0 -26
- package/skills/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md +0 -168
- package/skills/semgrep-rule-creator/skills/semgrep-rule-creator/references/quick-reference.md +0 -203
- package/skills/semgrep-rule-creator/skills/semgrep-rule-creator/references/workflow.md +0 -240
- package/skills/semgrep-rule-variant-creator/.claude-plugin/plugin.json +0 -9
- package/skills/semgrep-rule-variant-creator/README.md +0 -86
- package/skills/semgrep-rule-variant-creator/skills/semgrep-rule-variant-creator/SKILL.md +0 -205
- package/skills/semgrep-rule-variant-creator/skills/semgrep-rule-variant-creator/references/applicability-analysis.md +0 -250
- package/skills/semgrep-rule-variant-creator/skills/semgrep-rule-variant-creator/references/language-syntax-guide.md +0 -324
- package/skills/semgrep-rule-variant-creator/skills/semgrep-rule-variant-creator/references/workflow.md +0 -518
- package/skills/session-logs/SKILL.md +0 -115
- package/skills/sharp-edges/.claude-plugin/plugin.json +0 -10
- package/skills/sharp-edges/README.md +0 -48
- package/skills/sharp-edges/SKILL.md +0 -292
- package/skills/sharp-edges/skills/sharp-edges/SKILL.md +0 -292
- package/skills/sharp-edges/skills/sharp-edges/references/auth-patterns.md +0 -252
- package/skills/sharp-edges/skills/sharp-edges/references/case-studies.md +0 -274
- package/skills/sharp-edges/skills/sharp-edges/references/config-patterns.md +0 -333
- package/skills/sharp-edges/skills/sharp-edges/references/crypto-apis.md +0 -190
- package/skills/sharp-edges/skills/sharp-edges/references/lang-c.md +0 -205
- package/skills/sharp-edges/skills/sharp-edges/references/lang-csharp.md +0 -285
- package/skills/sharp-edges/skills/sharp-edges/references/lang-go.md +0 -270
- package/skills/sharp-edges/skills/sharp-edges/references/lang-java.md +0 -263
- package/skills/sharp-edges/skills/sharp-edges/references/lang-javascript.md +0 -269
- package/skills/sharp-edges/skills/sharp-edges/references/lang-kotlin.md +0 -265
- package/skills/sharp-edges/skills/sharp-edges/references/lang-php.md +0 -245
- package/skills/sharp-edges/skills/sharp-edges/references/lang-python.md +0 -274
- package/skills/sharp-edges/skills/sharp-edges/references/lang-ruby.md +0 -273
- package/skills/sharp-edges/skills/sharp-edges/references/lang-rust.md +0 -272
- package/skills/sharp-edges/skills/sharp-edges/references/lang-swift.md +0 -287
- package/skills/sharp-edges/skills/sharp-edges/references/language-specific.md +0 -588
- package/skills/sherpa-onnx-tts/SKILL.md +0 -103
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -178
- package/skills/songsee/SKILL.md +0 -49
- package/skills/sonoscli/SKILL.md +0 -46
- package/skills/spec-to-code-compliance/.claude-plugin/plugin.json +0 -10
- package/skills/spec-to-code-compliance/README.md +0 -67
- package/skills/spec-to-code-compliance/SKILL.md +0 -349
- package/skills/spec-to-code-compliance/commands/spec-compliance.md +0 -22
- package/skills/spec-to-code-compliance/skills/spec-to-code-compliance/SKILL.md +0 -349
- package/skills/spec-to-code-compliance/skills/spec-to-code-compliance/resources/COMPLETENESS_CHECKLIST.md +0 -69
- package/skills/spec-to-code-compliance/skills/spec-to-code-compliance/resources/IR_EXAMPLES.md +0 -417
- package/skills/spec-to-code-compliance/skills/spec-to-code-compliance/resources/OUTPUT_REQUIREMENTS.md +0 -105
- package/skills/static-analysis/.claude-plugin/plugin.json +0 -8
- package/skills/static-analysis/README.md +0 -59
- package/skills/static-analysis/SKILL.md +0 -91
- package/skills/static-analysis/skills/codeql/SKILL.md +0 -315
- package/skills/static-analysis/skills/sarif-parsing/SKILL.md +0 -479
- package/skills/static-analysis/skills/sarif-parsing/resources/jq-queries.md +0 -162
- package/skills/static-analysis/skills/sarif-parsing/resources/sarif_helpers.py +0 -331
- package/skills/static-analysis/skills/semgrep/SKILL.md +0 -337
- package/skills/summarize/SKILL.md +0 -87
- package/skills/testing-handbook-skills/.claude-plugin/plugin.json +0 -8
- package/skills/testing-handbook-skills/README.md +0 -241
- package/skills/testing-handbook-skills/SKILL.md +0 -104
- package/skills/testing-handbook-skills/scripts/pyproject.toml +0 -8
- package/skills/testing-handbook-skills/scripts/validate-skills.py +0 -657
- package/skills/testing-handbook-skills/skills/address-sanitizer/SKILL.md +0 -341
- package/skills/testing-handbook-skills/skills/aflpp/SKILL.md +0 -640
- package/skills/testing-handbook-skills/skills/atheris/SKILL.md +0 -522
- package/skills/testing-handbook-skills/skills/cargo-fuzz/SKILL.md +0 -460
- package/skills/testing-handbook-skills/skills/codeql/SKILL.md +0 -552
- package/skills/testing-handbook-skills/skills/constant-time-testing/SKILL.md +0 -512
- package/skills/testing-handbook-skills/skills/coverage-analysis/SKILL.md +0 -612
- package/skills/testing-handbook-skills/skills/fuzzing-dictionary/SKILL.md +0 -303
- package/skills/testing-handbook-skills/skills/fuzzing-obstacles/SKILL.md +0 -433
- package/skills/testing-handbook-skills/skills/harness-writing/SKILL.md +0 -621
- package/skills/testing-handbook-skills/skills/libafl/SKILL.md +0 -632
- package/skills/testing-handbook-skills/skills/libfuzzer/SKILL.md +0 -795
- package/skills/testing-handbook-skills/skills/ossfuzz/SKILL.md +0 -434
- package/skills/testing-handbook-skills/skills/ruzzy/SKILL.md +0 -443
- package/skills/testing-handbook-skills/skills/semgrep/SKILL.md +0 -605
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/SKILL.md +0 -372
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/agent-prompt.md +0 -280
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/discovery.md +0 -452
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/templates/domain-skill.md +0 -504
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/templates/fuzzer-skill.md +0 -454
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/templates/technique-skill.md +0 -527
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/templates/tool-skill.md +0 -366
- package/skills/testing-handbook-skills/skills/testing-handbook-generator/testing.md +0 -482
- package/skills/testing-handbook-skills/skills/wycheproof/SKILL.md +0 -539
- package/skills/variant-analysis/.claude-plugin/plugin.json +0 -8
- package/skills/variant-analysis/README.md +0 -41
- package/skills/variant-analysis/commands/variants.md +0 -23
- package/skills/variant-analysis/skills/variant-analysis/METHODOLOGY.md +0 -327
- package/skills/variant-analysis/skills/variant-analysis/SKILL.md +0 -142
- package/skills/variant-analysis/skills/variant-analysis/resources/codeql/cpp.ql +0 -119
- package/skills/variant-analysis/skills/variant-analysis/resources/codeql/go.ql +0 -69
- package/skills/variant-analysis/skills/variant-analysis/resources/codeql/java.ql +0 -71
- package/skills/variant-analysis/skills/variant-analysis/resources/codeql/javascript.ql +0 -63
- package/skills/variant-analysis/skills/variant-analysis/resources/codeql/python.ql +0 -80
- package/skills/variant-analysis/skills/variant-analysis/resources/semgrep/cpp.yaml +0 -98
- package/skills/variant-analysis/skills/variant-analysis/resources/semgrep/go.yaml +0 -63
- package/skills/variant-analysis/skills/variant-analysis/resources/semgrep/java.yaml +0 -61
- package/skills/variant-analysis/skills/variant-analysis/resources/semgrep/javascript.yaml +0 -60
- package/skills/variant-analysis/skills/variant-analysis/resources/semgrep/python.yaml +0 -72
- package/skills/variant-analysis/skills/variant-analysis/resources/variant-report-template.md +0 -75
- package/skills/video-frames/SKILL.md +0 -46
- package/skills/video-frames/scripts/frame.sh +0 -81
- package/skills/voice-call/SKILL.md +0 -45
- package/skills/yara-authoring/.claude-plugin/plugin.json +0 -9
- package/skills/yara-authoring/README.md +0 -131
- package/skills/yara-authoring/skills/yara-rule-authoring/SKILL.md +0 -645
- package/skills/yara-authoring/skills/yara-rule-authoring/examples/MAL_Mac_ProtonRAT_Jan25.yar +0 -99
- package/skills/yara-authoring/skills/yara-rule-authoring/examples/MAL_NPM_SupplyChain_Jan25.yar +0 -170
- package/skills/yara-authoring/skills/yara-rule-authoring/examples/MAL_Win_Remcos_Jan25.yar +0 -103
- package/skills/yara-authoring/skills/yara-rule-authoring/examples/SUSP_CRX_SuspiciousPermissions.yar +0 -134
- package/skills/yara-authoring/skills/yara-rule-authoring/examples/SUSP_JS_Obfuscation_Jan25.yar +0 -185
- package/skills/yara-authoring/skills/yara-rule-authoring/references/crx-module.md +0 -214
- package/skills/yara-authoring/skills/yara-rule-authoring/references/dex-module.md +0 -383
- package/skills/yara-authoring/skills/yara-rule-authoring/references/performance.md +0 -333
- package/skills/yara-authoring/skills/yara-rule-authoring/references/strings.md +0 -433
- package/skills/yara-authoring/skills/yara-rule-authoring/references/style-guide.md +0 -257
- package/skills/yara-authoring/skills/yara-rule-authoring/references/testing.md +0 -399
- package/skills/yara-authoring/skills/yara-rule-authoring/scripts/atom_analyzer.py +0 -526
- package/skills/yara-authoring/skills/yara-rule-authoring/scripts/pyproject.toml +0 -25
- package/skills/yara-authoring/skills/yara-rule-authoring/scripts/yara_lint.py +0 -631
- package/skills/yara-authoring/skills/yara-rule-authoring/workflows/rule-development.md +0 -493
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Runtime and cloud (eliza app)
|
|
2
|
+
|
|
3
|
+
## Runtime shape
|
|
4
|
+
|
|
5
|
+
This app persists canonical runtime state in config fields such as:
|
|
6
|
+
|
|
7
|
+
- `deploymentTarget` for where the active runtime lives: `local`, `cloud`, or `remote`
|
|
8
|
+
- `linkedAccounts` for which providers and cloud accounts are connected
|
|
9
|
+
- `serviceRouting` for which backend handles each capability (`llmText`, `tts`, `media`, `embeddings`, `rpc`)
|
|
10
|
+
|
|
11
|
+
This separation matters. Hosting on Eliza Cloud does not require all inference to run through Eliza Cloud, and direct provider keys can still be used for selected capabilities.
|
|
12
|
+
|
|
13
|
+
## Onboarding model
|
|
14
|
+
|
|
15
|
+
Onboarding chooses:
|
|
16
|
+
|
|
17
|
+
1. identity and persona
|
|
18
|
+
2. hosting target
|
|
19
|
+
3. provider/account links
|
|
20
|
+
4. service routing
|
|
21
|
+
5. credentials
|
|
22
|
+
|
|
23
|
+
The stored config then drives runtime behavior after restart.
|
|
24
|
+
|
|
25
|
+
## Providers and skills
|
|
26
|
+
|
|
27
|
+
The runtime injects context through providers (workspace, admin trust, autonomous state, UI catalog or action availability, etc.).
|
|
28
|
+
|
|
29
|
+
Shipped skills are separate from providers. Skills are disk-backed knowledge assets discovered from `skills/` and the managed skills directory, then selected dynamically per turn by the app’s skill provider.
|
|
30
|
+
|
|
31
|
+
## Eliza Cloud in this app
|
|
32
|
+
|
|
33
|
+
Eliza Cloud is treated as a first-class managed backend:
|
|
34
|
+
|
|
35
|
+
- cloud login and API key persistence
|
|
36
|
+
- credit balance and in-app billing proxies
|
|
37
|
+
- cloud-hosted agent provisioning
|
|
38
|
+
- cloud media and TTS paths
|
|
39
|
+
- app platform integration
|
|
40
|
+
- containers and remote runtimes
|
|
41
|
+
|
|
42
|
+
If a task is about app building and Cloud is enabled or requested, prefer the Cloud backend path before inventing custom auth, billing, analytics, or hosting.
|
|
43
|
+
|
|
44
|
+
## Cloud-as-backend heuristic
|
|
45
|
+
|
|
46
|
+
For new app work, the default path should usually be:
|
|
47
|
+
|
|
48
|
+
1. create or reuse an Eliza Cloud app
|
|
49
|
+
2. use its `appId` plus API key
|
|
50
|
+
3. configure origins, redirect URIs, and domains
|
|
51
|
+
4. use Cloud APIs for chat/media/agent features
|
|
52
|
+
5. turn on monetization if the app should earn
|
|
53
|
+
6. deploy a container only if server-side code is required
|
|
54
|
+
|
|
55
|
+
## Current cloud monetization reality
|
|
56
|
+
|
|
57
|
+
In this repo’s implementation, app monetization is driven by markup/share fields and creator earnings tracking, not only generic per-request pricing prose. When docs drift, prefer:
|
|
58
|
+
|
|
59
|
+
- schema fields in `eliza/cloud/packages/db/schemas/`
|
|
60
|
+
- app monetization UI under `eliza/cloud/packages/ui/src/components/apps/`
|
|
61
|
+
- billing and earnings APIs used by the UI
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: eliza-cloud
|
|
3
|
+
description: "Use when the task involves Eliza Cloud or elizaOS Cloud as a managed backend, app platform, deployment target, billing layer, or monetization surface. Covers app creation, `appId` usage, app auth flows, cloud-hosted APIs, analytics, credits, creator monetization, and custom Docker container deployments."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Eliza Cloud
|
|
7
|
+
|
|
8
|
+
Use this skill whenever Eliza Cloud is enabled, linked, or the task involves building an app that could use Cloud as its backend.
|
|
9
|
+
|
|
10
|
+
## Default Stance
|
|
11
|
+
|
|
12
|
+
Treat Eliza Cloud as the default managed backend before inventing separate auth, billing, analytics, or hosting. In this repo, Cloud already supports:
|
|
13
|
+
|
|
14
|
+
- app registration and API keys
|
|
15
|
+
- `appId`-based app auth flows
|
|
16
|
+
- cloud-hosted chat, media, agent, and billing APIs
|
|
17
|
+
- app analytics, user tracking, domains, and credits
|
|
18
|
+
- creator monetization
|
|
19
|
+
- Docker container deployments for server-side workloads
|
|
20
|
+
|
|
21
|
+
## Read These References First
|
|
22
|
+
|
|
23
|
+
- `references/cloud-backend-and-monetization.md` for apps, auth, billing, and earnings
|
|
24
|
+
- `references/apps-and-containers.md` for deployment, domains, and container workflow
|
|
25
|
+
|
|
26
|
+
## Default Build Flow
|
|
27
|
+
|
|
28
|
+
For most app work:
|
|
29
|
+
|
|
30
|
+
1. create or reuse an Eliza Cloud app
|
|
31
|
+
2. capture the app's `appId` and API key
|
|
32
|
+
3. configure `app_url`, allowed origins, and redirect URIs
|
|
33
|
+
4. use Cloud APIs as the backend
|
|
34
|
+
5. enable monetization if the app should earn
|
|
35
|
+
6. deploy a container only if server-side code is required
|
|
36
|
+
|
|
37
|
+
## Important Reality Check
|
|
38
|
+
|
|
39
|
+
Some older docs still describe generic per-request or per-token app pricing. In this repo's current implementation, the active app monetization controls are markup/share-based. Prefer the current schema, UI, and API behavior in this repo when prose docs conflict.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Eliza Cloud Apps And Containers
|
|
2
|
+
|
|
3
|
+
## Apps First
|
|
4
|
+
|
|
5
|
+
For most product work, start with an app.
|
|
6
|
+
|
|
7
|
+
Typical flow:
|
|
8
|
+
|
|
9
|
+
1. create the app
|
|
10
|
+
2. store `appId`
|
|
11
|
+
3. configure `app_url` and `allowed_origins`
|
|
12
|
+
4. register redirect URIs
|
|
13
|
+
5. wire the client to Cloud APIs
|
|
14
|
+
6. add domains if the app needs a branded URL
|
|
15
|
+
|
|
16
|
+
Useful app capabilities already present in this repo:
|
|
17
|
+
|
|
18
|
+
- analytics
|
|
19
|
+
- user tracking
|
|
20
|
+
- monetization settings
|
|
21
|
+
- earnings dashboard
|
|
22
|
+
- domain management
|
|
23
|
+
- one-time API key display and regeneration
|
|
24
|
+
|
|
25
|
+
## Domains
|
|
26
|
+
|
|
27
|
+
Apps can get:
|
|
28
|
+
|
|
29
|
+
- a managed subdomain
|
|
30
|
+
- custom domains with verification
|
|
31
|
+
|
|
32
|
+
If the task needs a production URL, prefer the existing app/domain model before inventing custom deployment plumbing.
|
|
33
|
+
|
|
34
|
+
## When To Use A Container
|
|
35
|
+
|
|
36
|
+
Use a Cloud container when the app needs backend code that cannot live purely in the browser or through the existing managed APIs.
|
|
37
|
+
|
|
38
|
+
Good reasons:
|
|
39
|
+
|
|
40
|
+
- custom server logic
|
|
41
|
+
- webhooks
|
|
42
|
+
- background jobs tied to the app
|
|
43
|
+
- an existing Dockerized service
|
|
44
|
+
|
|
45
|
+
Do not default to a container just to get a backend if the built-in Cloud APIs are already enough.
|
|
46
|
+
|
|
47
|
+
## Container Deployment Flow
|
|
48
|
+
|
|
49
|
+
Current container flow in this repo:
|
|
50
|
+
|
|
51
|
+
1. get temporary ECR credentials
|
|
52
|
+
2. push a Docker image
|
|
53
|
+
3. create a container with `ecr_image_uri`
|
|
54
|
+
4. poll status until it is running
|
|
55
|
+
5. read logs/metrics or attach domains as needed
|
|
56
|
+
|
|
57
|
+
Current implementation notes:
|
|
58
|
+
|
|
59
|
+
- deployments are asynchronous
|
|
60
|
+
- the API returns a poll endpoint
|
|
61
|
+
- deployments deduct credits
|
|
62
|
+
- health checks, metrics, and logs already exist
|
|
63
|
+
|
|
64
|
+
## Practical Heuristic For Agents
|
|
65
|
+
|
|
66
|
+
If you are building an app:
|
|
67
|
+
|
|
68
|
+
- use an app record and Cloud APIs by default
|
|
69
|
+
- use the app auth flow for user login
|
|
70
|
+
- turn on monetization if appropriate
|
|
71
|
+
- add a container only for real server-side code
|
|
72
|
+
|
|
73
|
+
That keeps the app inside the platform's identity, billing, analytics, and earnings model.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Eliza Cloud Backend And Monetization
|
|
2
|
+
|
|
3
|
+
## Why Use Cloud As The Backend
|
|
4
|
+
|
|
5
|
+
When Cloud is enabled, it already gives the app most of the backend primitives agents usually try to reinvent:
|
|
6
|
+
|
|
7
|
+
- authentication
|
|
8
|
+
- API keys
|
|
9
|
+
- usage tracking
|
|
10
|
+
- credits and billing
|
|
11
|
+
- analytics
|
|
12
|
+
- domains
|
|
13
|
+
- app users
|
|
14
|
+
- creator earnings
|
|
15
|
+
|
|
16
|
+
For app work, the default assumption should be that Cloud is the backend unless there is a specific reason not to use it.
|
|
17
|
+
|
|
18
|
+
## App As The Integration Unit
|
|
19
|
+
|
|
20
|
+
The core unit is an app record.
|
|
21
|
+
|
|
22
|
+
Current app fields in this repo include:
|
|
23
|
+
|
|
24
|
+
- `id` / `appId`
|
|
25
|
+
- `name`
|
|
26
|
+
- `app_url`
|
|
27
|
+
- `allowed_origins`
|
|
28
|
+
- `website_url`
|
|
29
|
+
- `contact_email`
|
|
30
|
+
- deployment status and production URL
|
|
31
|
+
- monetization fields
|
|
32
|
+
|
|
33
|
+
Creating an app yields a unique API key and an app identifier. Use the app identifier for frontend/browser-facing flows and keep the API key on trusted server paths.
|
|
34
|
+
|
|
35
|
+
## User Auth Flow
|
|
36
|
+
|
|
37
|
+
The existing app auth flow expects:
|
|
38
|
+
|
|
39
|
+
- `app_id`
|
|
40
|
+
- `redirect_uri`
|
|
41
|
+
- optional `state`
|
|
42
|
+
|
|
43
|
+
The user signs into Eliza Cloud, the app is validated, and the user is redirected back with a token. This means users logging into the app can use Eliza Cloud as the backend identity and service layer instead of a separate auth stack.
|
|
44
|
+
|
|
45
|
+
## Billing And Credits
|
|
46
|
+
|
|
47
|
+
Cloud already exposes:
|
|
48
|
+
|
|
49
|
+
- credit balance APIs
|
|
50
|
+
- billing summary
|
|
51
|
+
- checkout / top-up flows
|
|
52
|
+
- payment methods
|
|
53
|
+
- billing history
|
|
54
|
+
|
|
55
|
+
In Eliza, billing is intended to stay inside the app where possible, with hosted URLs treated as fallback.
|
|
56
|
+
|
|
57
|
+
## Current App Monetization Model In This Repo
|
|
58
|
+
|
|
59
|
+
The app monetization implementation currently centers on:
|
|
60
|
+
|
|
61
|
+
- `monetization_enabled`
|
|
62
|
+
- `inference_markup_percentage`
|
|
63
|
+
- `purchase_share_percentage`
|
|
64
|
+
- `platform_offset_amount`
|
|
65
|
+
- `total_creator_earnings`
|
|
66
|
+
|
|
67
|
+
The UI describes this as:
|
|
68
|
+
|
|
69
|
+
- creators earn from inference markups
|
|
70
|
+
- creators earn a share when users buy app credits
|
|
71
|
+
- users pay app-specific credits
|
|
72
|
+
|
|
73
|
+
So when an agent builds an app on Cloud, it should understand that app usage can be monetized directly instead of treated as pure cost.
|
|
74
|
+
|
|
75
|
+
## Redeemable Earnings
|
|
76
|
+
|
|
77
|
+
Redeemable earnings in this repo explicitly include:
|
|
78
|
+
|
|
79
|
+
- app creator earnings
|
|
80
|
+
- agent creator earnings
|
|
81
|
+
- MCP creator earnings
|
|
82
|
+
- affiliate and revenue-share flows
|
|
83
|
+
|
|
84
|
+
That means apps, public agents, and MCP products can all participate in monetized Cloud flows.
|
|
85
|
+
|
|
86
|
+
## Affiliate And Marked-Up Usage
|
|
87
|
+
|
|
88
|
+
The Cloud UI also includes affiliate markup flows where a code can add markup to usage and credit top-ups. This is separate from per-app monetization, but it reinforces the same principle: Cloud is designed to let builders earn on top of platform usage rather than only consume credits.
|
|
89
|
+
|
|
90
|
+
## Source Of Truth When Docs Drift
|
|
91
|
+
|
|
92
|
+
Prefer these implementation surfaces:
|
|
93
|
+
|
|
94
|
+
- `eliza/cloud/packages/db/schemas/app-billing.ts`
|
|
95
|
+
- `eliza/cloud/packages/db/schemas/apps.ts`
|
|
96
|
+
- `eliza/cloud/packages/db/schemas/redeemable-earnings.ts`
|
|
97
|
+
- `eliza/cloud/packages/ui/src/components/apps/app-monetization-settings.tsx`
|
|
98
|
+
- `eliza/cloud/packages/ui/src/components/apps/app-earnings-dashboard.tsx`
|
|
99
|
+
- `eliza/cloud/packages/ui/src/components/auth/authorize-content.tsx`
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: elizaos
|
|
3
|
+
description: "Use when the task involves elizaOS core runtime concepts, plugins, actions, providers, evaluators, services, memories, state composition, or upstream elizaOS development. Covers the main abstractions and the TypeScript runtime mental model."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# elizaOS
|
|
7
|
+
|
|
8
|
+
elizaOS is the plugin-based agent runtime that Eliza builds on top of.
|
|
9
|
+
|
|
10
|
+
## Read These References First
|
|
11
|
+
|
|
12
|
+
- `references/core-abstractions.md` for the runtime mental model and message flow
|
|
13
|
+
- `references/plugin-development.md` for plugin extension points and implementation patterns
|
|
14
|
+
|
|
15
|
+
## Use This Skill When
|
|
16
|
+
|
|
17
|
+
- a change touches `eliza/`
|
|
18
|
+
- you need to reason about `AgentRuntime`
|
|
19
|
+
- you are implementing or debugging actions, providers, evaluators, services, or model handlers
|
|
20
|
+
- you need the correct plugin lifecycle instead of guessing from Eliza wrappers
|
|
21
|
+
|
|
22
|
+
## Working Rules
|
|
23
|
+
|
|
24
|
+
- Treat the TypeScript runtime in `eliza/packages/typescript/src/` as the primary reference implementation.
|
|
25
|
+
- Prefer elizaOS-native abstractions over product-specific wrappers when reasoning about upstream behavior.
|
|
26
|
+
- Remember the split between persistent `Memory` and ephemeral `State`.
|
|
27
|
+
- Remember that plugins are the main composition mechanism.
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# elizaOS Core Abstractions
|
|
2
|
+
|
|
3
|
+
## Runtime
|
|
4
|
+
|
|
5
|
+
The main TypeScript runtime is `AgentRuntime`.
|
|
6
|
+
|
|
7
|
+
It owns:
|
|
8
|
+
|
|
9
|
+
- registered plugins
|
|
10
|
+
- actions, providers, evaluators, services, routes, and model handlers
|
|
11
|
+
- database adapter access
|
|
12
|
+
- message processing
|
|
13
|
+
- cached per-message state
|
|
14
|
+
|
|
15
|
+
`runtime.initialize()` registers plugins, initializes the adapter, creates the default message service, and can run plugin migrations.
|
|
16
|
+
|
|
17
|
+
## Persistent Versus Ephemeral Data
|
|
18
|
+
|
|
19
|
+
### `Memory`
|
|
20
|
+
|
|
21
|
+
Persistent data. Messages, documents, fragments, and other stored knowledge live here.
|
|
22
|
+
|
|
23
|
+
Typical fields:
|
|
24
|
+
|
|
25
|
+
- `content`
|
|
26
|
+
- `embedding`
|
|
27
|
+
- `metadata`
|
|
28
|
+
|
|
29
|
+
### `State`
|
|
30
|
+
|
|
31
|
+
Ephemeral per-turn context used for prompt composition and action execution.
|
|
32
|
+
|
|
33
|
+
Typical parts:
|
|
34
|
+
|
|
35
|
+
- `values`
|
|
36
|
+
- `data`
|
|
37
|
+
- `text`
|
|
38
|
+
|
|
39
|
+
Providers build `State`; memories persist across turns.
|
|
40
|
+
|
|
41
|
+
## Core Conversation Model
|
|
42
|
+
|
|
43
|
+
- **Entity**: participant identity
|
|
44
|
+
- **Room**: conversation space
|
|
45
|
+
- **World**: container for related rooms
|
|
46
|
+
|
|
47
|
+
Typical flow:
|
|
48
|
+
|
|
49
|
+
1. ensure the connection (`world`, `room`, `entity`)
|
|
50
|
+
2. create a message memory
|
|
51
|
+
3. call the message service
|
|
52
|
+
|
|
53
|
+
## Provider Model
|
|
54
|
+
|
|
55
|
+
Providers build context before inference.
|
|
56
|
+
|
|
57
|
+
They can contribute:
|
|
58
|
+
|
|
59
|
+
- `text` for human-readable prompt context
|
|
60
|
+
- `values` for template variables
|
|
61
|
+
- `data` for structured cached state
|
|
62
|
+
|
|
63
|
+
Providers are ordered by `position`. `private` and `dynamic` providers are excluded from the default provider set unless explicitly requested.
|
|
64
|
+
|
|
65
|
+
## Action Model
|
|
66
|
+
|
|
67
|
+
Actions are elizaOS tools.
|
|
68
|
+
|
|
69
|
+
The default flow is:
|
|
70
|
+
|
|
71
|
+
1. model emits an action plan
|
|
72
|
+
2. runtime executes actions
|
|
73
|
+
3. action results can feed follow-up state or callbacks
|
|
74
|
+
|
|
75
|
+
Single-action and multi-action modes both exist.
|
|
76
|
+
|
|
77
|
+
## Evaluators
|
|
78
|
+
|
|
79
|
+
Evaluators run after response generation and action execution.
|
|
80
|
+
|
|
81
|
+
Use them for:
|
|
82
|
+
|
|
83
|
+
- reflection
|
|
84
|
+
- extraction
|
|
85
|
+
- safety checks
|
|
86
|
+
- policy enforcement
|
|
87
|
+
|
|
88
|
+
## End-To-End Flow
|
|
89
|
+
|
|
90
|
+
The default TypeScript pipeline is:
|
|
91
|
+
|
|
92
|
+
1. ingest message
|
|
93
|
+
2. persist incoming memory
|
|
94
|
+
3. compose state via providers
|
|
95
|
+
4. optionally process attachments
|
|
96
|
+
5. decide whether to respond
|
|
97
|
+
6. run model inference
|
|
98
|
+
7. execute actions
|
|
99
|
+
8. persist/send the response
|
|
100
|
+
9. run evaluators
|
|
101
|
+
10. emit lifecycle events
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# elizaOS Plugin Development
|
|
2
|
+
|
|
3
|
+
## Plugin Shape
|
|
4
|
+
|
|
5
|
+
An elizaOS plugin is a plain object that can register:
|
|
6
|
+
|
|
7
|
+
- `actions`
|
|
8
|
+
- `providers`
|
|
9
|
+
- `services`
|
|
10
|
+
- `models`
|
|
11
|
+
- `evaluators`
|
|
12
|
+
- `routes`
|
|
13
|
+
- `events`
|
|
14
|
+
- optionally an adapter or schema
|
|
15
|
+
|
|
16
|
+
## Key Extension Points
|
|
17
|
+
|
|
18
|
+
### Actions
|
|
19
|
+
|
|
20
|
+
Use for tool execution or side effects.
|
|
21
|
+
|
|
22
|
+
- declared in `plugin.actions`
|
|
23
|
+
- executed by `runtime.processActions(...)`
|
|
24
|
+
- can declare structured parameters
|
|
25
|
+
|
|
26
|
+
### Providers
|
|
27
|
+
|
|
28
|
+
Use for state and prompt context.
|
|
29
|
+
|
|
30
|
+
- declared in `plugin.providers`
|
|
31
|
+
- executed during `runtime.composeState(...)`
|
|
32
|
+
- return `text`, `values`, and/or `data`
|
|
33
|
+
|
|
34
|
+
### Services
|
|
35
|
+
|
|
36
|
+
Use for long-lived shared logic such as API clients, caches, or background connections.
|
|
37
|
+
|
|
38
|
+
### Models
|
|
39
|
+
|
|
40
|
+
Use to register inference handlers for text, embeddings, image description, and related model types.
|
|
41
|
+
|
|
42
|
+
### Evaluators
|
|
43
|
+
|
|
44
|
+
Use for post-response analysis or policy checks.
|
|
45
|
+
|
|
46
|
+
### Routes
|
|
47
|
+
|
|
48
|
+
Use for plugin-owned HTTP endpoints. Routes are namespaced under the plugin name.
|
|
49
|
+
|
|
50
|
+
## Practical Guidance
|
|
51
|
+
|
|
52
|
+
- If the feature changes prompt context, it is usually a provider.
|
|
53
|
+
- If the feature performs an operation, it is usually an action.
|
|
54
|
+
- If the feature needs shared lifecycle-managed resources, it is usually a service.
|
|
55
|
+
- If the feature changes inference backends, it is usually a model handler.
|
|
56
|
+
|
|
57
|
+
## Runtime Registration Order
|
|
58
|
+
|
|
59
|
+
At plugin registration:
|
|
60
|
+
|
|
61
|
+
1. `plugin.init(...)` runs first
|
|
62
|
+
2. components are registered
|
|
63
|
+
3. routes are namespaced
|
|
64
|
+
4. services are initialized asynchronously
|
|
65
|
+
|
|
66
|
+
## Eliza Context
|
|
67
|
+
|
|
68
|
+
In this repo, Eliza adds product behavior around elizaOS, but the underlying runtime composition rules still come from elizaOS. When a Eliza feature behaves strangely, check whether the root cause is actually in:
|
|
69
|
+
|
|
70
|
+
- provider ordering
|
|
71
|
+
- action planning
|
|
72
|
+
- model handler selection
|
|
73
|
+
- plugin auto-enable or plugin loading
|
|
74
|
+
- database adapter initialization
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: yara-authoring
|
|
3
|
+
description: "Write and test YARA rules for malware detection and threat hunting. Use when creating YARA signatures, detecting malware families, scanning files or memory for indicators of compromise, or building detection rules for threat intelligence."
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# YARA Rule Authoring
|
|
13
|
+
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
- Writing YARA rules to detect malware samples or families
|
|
17
|
+
- Creating detection signatures for indicators of compromise (IOCs)
|
|
18
|
+
- Scanning files or directories for known threat patterns
|
|
19
|
+
- Building threat hunting rules from intelligence reports
|
|
20
|
+
- Classifying unknown samples based on behavioral or structural patterns
|
|
21
|
+
|
|
22
|
+
## When NOT to Use
|
|
23
|
+
|
|
24
|
+
- Dynamic malware analysis (use sandbox environments)
|
|
25
|
+
- Network traffic analysis (use Suricata/Snort rules)
|
|
26
|
+
- Static analysis of source code (use Semgrep/CodeQL)
|
|
27
|
+
|
|
28
|
+
## Rule Template
|
|
29
|
+
|
|
30
|
+
```yara
|
|
31
|
+
rule MalwareFamily_Variant : tag1 tag2 {
|
|
32
|
+
meta:
|
|
33
|
+
author = "analyst"
|
|
34
|
+
description = "Detects MalwareFamily variant based on unique strings"
|
|
35
|
+
date = "2024-01-01"
|
|
36
|
+
reference = "https://example.com/report"
|
|
37
|
+
hash = "abc123..."
|
|
38
|
+
severity = "high"
|
|
39
|
+
|
|
40
|
+
strings:
|
|
41
|
+
$s1 = "unique_malware_string" ascii
|
|
42
|
+
$s2 = { 4D 5A 90 00 03 00 } // hex pattern
|
|
43
|
+
$s3 = /https?:\/\/[a-z0-9]+\.evil\.com/ nocase // regex
|
|
44
|
+
|
|
45
|
+
condition:
|
|
46
|
+
uint16(0) == 0x5A4D and // MZ header (PE file)
|
|
47
|
+
filesize < 5MB and
|
|
48
|
+
(2 of ($s*))
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## String Types
|
|
53
|
+
|
|
54
|
+
| Type | Syntax | Use Case |
|
|
55
|
+
|------|--------|----------|
|
|
56
|
+
| Text | `"string"` | ASCII strings |
|
|
57
|
+
| Hex | `{ AA BB CC }` | Byte patterns, shellcode |
|
|
58
|
+
| Regex | `/pattern/` | Flexible text matching |
|
|
59
|
+
|
|
60
|
+
### Modifiers
|
|
61
|
+
- `ascii` / `wide` — encoding
|
|
62
|
+
- `nocase` — case insensitive
|
|
63
|
+
- `fullword` — word boundary matching
|
|
64
|
+
- `xor` — XOR-encoded strings
|
|
65
|
+
- `base64` — base64-encoded strings
|
|
66
|
+
|
|
67
|
+
## Condition Operators
|
|
68
|
+
|
|
69
|
+
```yara
|
|
70
|
+
condition:
|
|
71
|
+
all of them // All strings match
|
|
72
|
+
any of ($a*) // Any string starting with $a
|
|
73
|
+
2 of ($s1, $s2, $s3) // At least 2 of listed strings
|
|
74
|
+
#s1 > 3 // String $s1 appears more than 3 times
|
|
75
|
+
@s1 < 0x100 // String $s1 found before offset 0x100
|
|
76
|
+
filesize < 1MB // File size constraint
|
|
77
|
+
uint16(0) == 0x5A4D // Magic bytes at offset
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Scanning
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Scan a file
|
|
84
|
+
yara rule.yar target_file
|
|
85
|
+
|
|
86
|
+
# Scan directory recursively
|
|
87
|
+
yara -r rules/ /path/to/scan/
|
|
88
|
+
|
|
89
|
+
# Scan with metadata output
|
|
90
|
+
yara -m -s rule.yar target_file
|
|
91
|
+
|
|
92
|
+
# Compile rules for faster repeated scanning
|
|
93
|
+
yarac rules/ compiled.yarc
|
|
94
|
+
yara -C compiled.yarc /path/to/scan/
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Best Practices
|
|
98
|
+
|
|
99
|
+
1. Always include `meta` with author, description, date, and reference
|
|
100
|
+
2. Use `filesize` and magic byte checks to limit scope
|
|
101
|
+
3. Prefer multiple weak indicators over one strong indicator
|
|
102
|
+
4. Test against known samples AND clean files for false positives
|
|
103
|
+
5. Use `private` rules for helper conditions
|
|
104
|
+
6. Avoid overly broad regex patterns that cause performance issues
|
|
105
|
+
7. Version control your rules and track detection rates
|
|
106
|
+
|
|
107
|
+
## Resources
|
|
108
|
+
|
|
109
|
+
- YARA Documentation — https://yara.readthedocs.io/
|
|
110
|
+
- YARA Rules Repository — https://github.com/Yara-Rules/rules
|
|
111
|
+
- VirusTotal YARA — https://docs.virustotal.com/docs/yara
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bear-notes
|
|
3
|
-
description: Create, search, read, tag, and append to Bear app notes on macOS via the grizzly CLI. Use when the user wants to create a new note in Bear, search Bear notes by tag, read or open a Bear note by ID, append text to an existing Bear note, list Bear tags, or automate note-taking in Bear. Requires the grizzly binary and Bear app running on macOS.
|
|
4
|
-
homepage: https://bear.app
|
|
5
|
-
metadata:
|
|
6
|
-
{
|
|
7
|
-
"otto":
|
|
8
|
-
{
|
|
9
|
-
"emoji": "🐻",
|
|
10
|
-
"os": ["darwin"],
|
|
11
|
-
"requires": { "bins": ["grizzly"] },
|
|
12
|
-
"install":
|
|
13
|
-
[
|
|
14
|
-
{
|
|
15
|
-
"id": "go",
|
|
16
|
-
"kind": "go",
|
|
17
|
-
"module": "github.com/tylerwince/grizzly/cmd/grizzly@latest",
|
|
18
|
-
"bins": ["grizzly"],
|
|
19
|
-
"label": "Install grizzly (go)",
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
# Bear Notes
|
|
27
|
-
|
|
28
|
-
Use `grizzly` to create, read, and manage notes in Bear on macOS.
|
|
29
|
-
|
|
30
|
-
Requirements
|
|
31
|
-
|
|
32
|
-
- Bear app installed and running
|
|
33
|
-
- For some operations (add-text, tags, open-note --selected), a Bear app token (stored in `~/.config/grizzly/token`)
|
|
34
|
-
|
|
35
|
-
## Getting a Bear Token
|
|
36
|
-
|
|
37
|
-
For operations that require a token (add-text, tags, open-note --selected), you need an authentication token:
|
|
38
|
-
|
|
39
|
-
1. Open Bear → Help → API Token → Copy Token
|
|
40
|
-
2. Save it: `echo "YOUR_TOKEN" > ~/.config/grizzly/token`
|
|
41
|
-
|
|
42
|
-
## Common Commands
|
|
43
|
-
|
|
44
|
-
Create a note
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
echo "Note content here" | grizzly create --title "My Note" --tag work
|
|
48
|
-
grizzly create --title "Quick Note" --tag inbox < /dev/null
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Open/read a note by ID
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
grizzly open-note --id "NOTE_ID" --enable-callback --json
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Append text to a note
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
echo "Additional content" | grizzly add-text --id "NOTE_ID" --mode append --token-file ~/.config/grizzly/token
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
List all tags
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
grizzly tags --enable-callback --json --token-file ~/.config/grizzly/token
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
Search notes (via open-tag)
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
grizzly open-tag --name "work" --enable-callback --json
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Options
|
|
76
|
-
|
|
77
|
-
Common flags:
|
|
78
|
-
|
|
79
|
-
- `--dry-run` — Preview the URL without executing
|
|
80
|
-
- `--print-url` — Show the x-callback-url
|
|
81
|
-
- `--enable-callback` — Wait for Bear's response (needed for reading data)
|
|
82
|
-
- `--json` — Output as JSON (when using callbacks)
|
|
83
|
-
- `--token-file PATH` — Path to Bear API token file
|
|
84
|
-
|
|
85
|
-
## Configuration
|
|
86
|
-
|
|
87
|
-
Grizzly reads config from (in priority order):
|
|
88
|
-
|
|
89
|
-
1. CLI flags
|
|
90
|
-
2. Environment variables (`GRIZZLY_TOKEN_FILE`, `GRIZZLY_CALLBACK_URL`, `GRIZZLY_TIMEOUT`)
|
|
91
|
-
3. `.grizzly.toml` in current directory
|
|
92
|
-
4. `~/.config/grizzly/config.toml`
|
|
93
|
-
|
|
94
|
-
Example `~/.config/grizzly/config.toml`:
|
|
95
|
-
|
|
96
|
-
```toml
|
|
97
|
-
token_file = "~/.config/grizzly/token"
|
|
98
|
-
callback_url = "http://127.0.0.1:42123/success"
|
|
99
|
-
timeout = "5s"
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## Notes
|
|
103
|
-
|
|
104
|
-
- Bear must be running for commands to work
|
|
105
|
-
- Note IDs are Bear's internal identifiers (visible in note info or via callbacks)
|
|
106
|
-
- Use `--enable-callback` when you need to read data back from Bear
|
|
107
|
-
- Some operations require a valid token (add-text, tags, open-note --selected)
|