opencode-skills-collection 3.1.23 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +24 -1
- package/bundled-skills/007/SKILL.md +2 -2
- package/bundled-skills/10-andruia-skill-smith/SKILL.md +1 -1
- package/bundled-skills/agent-squad/SKILL.md +5 -0
- package/bundled-skills/agent-squad/alex/SKILL.md +3 -0
- package/bundled-skills/agent-squad/aria/SKILL.md +3 -0
- package/bundled-skills/agent-squad/dep/SKILL.md +3 -0
- package/bundled-skills/agent-squad/luna/SKILL.md +4 -1
- package/bundled-skills/agent-squad/mason/SKILL.md +3 -0
- package/bundled-skills/agent-squad/max/SKILL.md +3 -0
- package/bundled-skills/agent-squad/quinn/SKILL.md +3 -0
- package/bundled-skills/agent-squad/rex/SKILL.md +3 -0
- package/bundled-skills/angular/metadata.json +1 -1
- package/bundled-skills/angular-best-practices/metadata.json +1 -1
- package/bundled-skills/angular-state-management/metadata.json +1 -1
- package/bundled-skills/angular-ui-patterns/metadata.json +1 -1
- package/bundled-skills/antigravity-skill-orchestrator/SKILL.md +2 -2
- package/bundled-skills/apify-actor-development/SKILL.md +2 -2
- package/bundled-skills/apple-container/SKILL.md +165 -0
- package/bundled-skills/apple-container/references/commands.md +1593 -0
- package/bundled-skills/apple-container/references/concepts.md +294 -0
- package/bundled-skills/apple-container/references/configuration.md +499 -0
- package/bundled-skills/apple-container/references/workflows.md +498 -0
- package/bundled-skills/ask-copilot/SKILL.md +112 -0
- package/bundled-skills/auto-research/SKILL.md +126 -0
- package/bundled-skills/brooks-lint/SKILL.md +1 -1
- package/bundled-skills/browser-harness/references/install.md +3 -1
- package/bundled-skills/chrome-extension-developer/SKILL.md +1 -1
- package/bundled-skills/clean-code-guard/SKILL.md +184 -0
- package/bundled-skills/clean-code-guard/references/ai-failure-modes.md +345 -0
- package/bundled-skills/clean-code-guard/references/comments-and-formatting.md +115 -0
- package/bundled-skills/clean-code-guard/references/dry-kiss-yagni.md +133 -0
- package/bundled-skills/clean-code-guard/references/naming-and-functions.md +187 -0
- package/bundled-skills/clean-code-guard/references/review-checklist.md +150 -0
- package/bundled-skills/clean-code-guard/references/solid.md +280 -0
- package/bundled-skills/clean-code-guard/references/sources.md +47 -0
- package/bundled-skills/cloudflare-security-audit/SKILL.md +137 -0
- package/bundled-skills/cloudflare-security-audit/references/AI-AND-LLM.md +67 -0
- package/bundled-skills/cloudflare-security-audit/references/ATTACK-CLASSES.md +116 -0
- package/bundled-skills/cloudflare-security-audit/references/CLIENT-SIDE.md +67 -0
- package/bundled-skills/cloudflare-security-audit/references/HUNTING.md +110 -0
- package/bundled-skills/cloudflare-security-audit/references/MEMORY-SAFETY-AND-BINARY.md +58 -0
- package/bundled-skills/cloudflare-security-audit/references/RECONNAISSANCE.md +46 -0
- package/bundled-skills/cloudflare-security-audit/references/VALIDATION-AND-REPORTING.md +109 -0
- package/bundled-skills/cloudflare-security-audit/references/WEB-PROTOCOL-AND-AUTH.md +85 -0
- package/bundled-skills/cloudflare-security-audit/resources/report-schema.json +210 -0
- package/bundled-skills/comfyui-gateway/references/troubleshooting.md +1 -1
- package/bundled-skills/commit/SKILL.md +2 -1
- package/bundled-skills/deepapi/SKILL.md +6 -6
- package/bundled-skills/docs/README.md +1 -1
- package/bundled-skills/docs/contributors/quality-bar.md +1 -1
- package/bundled-skills/docs/contributors/security-guardrails.md +1 -1
- package/bundled-skills/docs/integrations/jetski-cortex.md +5 -5
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +3 -3
- package/bundled-skills/docs/maintainers/ci-drift-fix.md +7 -5
- package/bundled-skills/docs/maintainers/merge-batch.md +24 -7
- package/bundled-skills/docs/maintainers/pr-autonomy.md +89 -0
- package/bundled-skills/docs/maintainers/release-notes-7.2.0.md +1 -1
- package/bundled-skills/docs/maintainers/release-process.md +9 -9
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +5 -5
- package/bundled-skills/docs/maintainers/skills-date-tracking.md +1 -1
- package/bundled-skills/docs/maintainers/skills-update-guide.md +2 -2
- package/bundled-skills/docs/users/{antigravity-awesome-skills-vs-awesome-claude-skills.md → agentic-awesome-skills-vs-awesome-claude-skills.md} +5 -5
- package/bundled-skills/docs/users/ai-agent-skills.md +4 -4
- package/bundled-skills/docs/users/best-claude-code-skills-github.md +3 -3
- package/bundled-skills/docs/users/best-cursor-skills-github.md +3 -3
- package/bundled-skills/docs/users/bundles.md +56 -57
- package/bundled-skills/docs/users/claude-code-skills.md +6 -6
- package/bundled-skills/docs/users/codex-cli-skills.md +5 -5
- package/bundled-skills/docs/users/cursor-skills.md +3 -3
- package/bundled-skills/docs/users/faq.md +27 -15
- package/bundled-skills/docs/users/gemini-cli-skills.md +4 -4
- package/bundled-skills/docs/users/getting-started.md +22 -12
- package/bundled-skills/docs/users/kiro-integration.md +7 -7
- package/bundled-skills/docs/users/plugins.md +8 -9
- package/bundled-skills/docs/users/security-skills.md +1 -1
- package/bundled-skills/docs/users/skills-vs-mcp-tools.md +1 -1
- package/bundled-skills/docs/users/specialized-plugin-roadmap.md +3 -4
- package/bundled-skills/docs/users/usage.md +9 -9
- package/bundled-skills/docs/users/visual-guide.md +7 -7
- package/bundled-skills/docs/users/windows-truncation-recovery.md +1 -1
- package/bundled-skills/docs/users/workflows.md +1 -1
- package/bundled-skills/docs/vietnamese/BUNDLES.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/FAQ.vi.md +15 -8
- package/bundled-skills/docs/vietnamese/GETTING_STARTED.vi.md +12 -5
- package/bundled-skills/docs/vietnamese/QUALITY_BAR.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/README.vi.md +21 -17
- package/bundled-skills/docs/vietnamese/SECURITY_GUARDRAILS.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/SKILLS_README.vi.md +2 -2
- package/bundled-skills/docs/vietnamese/TRANSLATION_PLAN.vi.md +1 -1
- package/bundled-skills/docs/vietnamese/VISUAL_GUIDE.vi.md +8 -8
- package/bundled-skills/docs-guard/SKILL.md +109 -0
- package/bundled-skills/docs-guard/references/code-samples.md +46 -0
- package/bundled-skills/docs-guard/references/docstrings.md +60 -0
- package/bundled-skills/docs-guard/references/review-checklist.md +45 -0
- package/bundled-skills/docs-guard/references/sources.md +22 -0
- package/bundled-skills/docs-guard/references/verification.md +51 -0
- package/bundled-skills/efficient-web-research/SKILL.md +4 -0
- package/bundled-skills/electron-development/SKILL.md +1 -1
- package/bundled-skills/event-staffing-compliance/SKILL.md +3 -0
- package/bundled-skills/event-staffing-ordering/SKILL.md +3 -0
- package/bundled-skills/feature-tracking/SKILL.md +222 -0
- package/bundled-skills/flutter-expert/SKILL.md +6 -1
- package/bundled-skills/flutter-expert/resources/implementation-playbook.md +214 -0
- package/bundled-skills/gemini-deep-research/README.md +246 -0
- package/bundled-skills/gemini-deep-research/SKILL.md +136 -0
- package/bundled-skills/gemini-deep-research/requirements.txt +2 -0
- package/bundled-skills/gemini-deep-research/scripts/research.py +692 -0
- package/bundled-skills/git-pushing/SKILL.md +21 -4
- package/bundled-skills/git-pushing/scripts/smart_commit.sh +206 -11
- package/bundled-skills/go-in-depth/scripts/workflow-script.js +4 -1
- package/bundled-skills/grok-build/SKILL.md +167 -0
- package/bundled-skills/grok-build/references/cli.md +99 -0
- package/bundled-skills/huggingface-tool-builder/references/find_models_by_paper.sh +1 -1
- package/bundled-skills/idea-autopsy/SKILL.md +147 -0
- package/bundled-skills/it-manager-hospital/README.md +1 -1
- package/bundled-skills/it-manager-pro/README.md +1 -1
- package/bundled-skills/itil-expert/README.md +1 -1
- package/bundled-skills/langgraph/SKILL.md +1 -1
- package/bundled-skills/linkedin-content-generator/SKILL.md +1 -1
- package/bundled-skills/lint-and-validate/scripts/lint_runner.py +23 -23
- package/bundled-skills/lint-and-validate/scripts/type_coverage.py +30 -30
- package/bundled-skills/logic-lens/SKILL.md +1 -1
- package/bundled-skills/lore/LICENSE +21 -0
- package/bundled-skills/lore/README.md +386 -0
- package/bundled-skills/lore/README.zh-CN.md +386 -0
- package/bundled-skills/lore/SKILL.md +453 -0
- package/bundled-skills/lore/WORKFLOWS.md +216 -0
- package/bundled-skills/lore/WORKFLOWS.zh-CN.md +216 -0
- package/bundled-skills/lore/references/audit-template.md +60 -0
- package/bundled-skills/lore/references/compatibility.md +228 -0
- package/bundled-skills/lore/references/config.md +125 -0
- package/bundled-skills/lore/references/entry-format.md +70 -0
- package/bundled-skills/lore/references/history-command.md +106 -0
- package/bundled-skills/lore/references/monorepo-detection.md +78 -0
- package/bundled-skills/lore/references/platform-mirrors.md +377 -0
- package/bundled-skills/lore/references/stale-new-markers.md +62 -0
- package/bundled-skills/lore/references/summary-template.md +98 -0
- package/bundled-skills/lore/scripts/README.md +54 -0
- package/bundled-skills/lore/scripts/README.zh-CN.md +54 -0
- package/bundled-skills/lore/scripts/find_duplicates.py +211 -0
- package/bundled-skills/lore/scripts/find_stale.py +116 -0
- package/bundled-skills/lore/scripts/history.py +527 -0
- package/bundled-skills/lore/scripts/id_hash.py +32 -0
- package/bundled-skills/lore/scripts/list_entries.py +183 -0
- package/bundled-skills/lovable-cleanup/SKILL.md +3 -3
- package/bundled-skills/makepad-splash/SKILL.md +1 -1
- package/bundled-skills/mmx-cli/SKILL.md +14 -1
- package/bundled-skills/monopoly/SKILL.md +5 -0
- package/bundled-skills/monopoly/patterns/SKILL.md +4 -0
- package/bundled-skills/monopoly/scale-benchmarks/SKILL.md +4 -0
- package/bundled-skills/monopoly/security-checklist/SKILL.md +4 -0
- package/bundled-skills/monopoly/tech-matrix/SKILL.md +4 -0
- package/bundled-skills/mtls-configuration/SKILL.md +1 -1
- package/bundled-skills/network-101/SKILL.md +4 -5
- package/bundled-skills/nika/SKILL.md +270 -0
- package/bundled-skills/not-a-vibe-coder/SKILL.md +4 -0
- package/bundled-skills/ontoly-software-graph/SKILL.md +160 -0
- package/bundled-skills/openclaw-github-repo-commander/SKILL.md +1 -1
- package/bundled-skills/pilot-protocol/SKILL.md +6 -3
- package/bundled-skills/postgres-readonly-queries/README.md +77 -0
- package/bundled-skills/postgres-readonly-queries/SKILL.md +152 -0
- package/bundled-skills/postgres-readonly-queries/connections.example.json +34 -0
- package/bundled-skills/postgres-readonly-queries/requirements.txt +1 -0
- package/bundled-skills/postgres-readonly-queries/scripts/query.py +262 -0
- package/bundled-skills/pptx-deck-creation/SKILL.md +275 -0
- package/bundled-skills/pptx-deck-creation/references/audit-checklist.md +156 -0
- package/bundled-skills/pptx-deck-creation/references/design-profiles.md +96 -0
- package/bundled-skills/pptx-deck-creation/references/python-snippets.md +150 -0
- package/bundled-skills/pptx-deck-creation/references/reference-deck-analysis.md +91 -0
- package/bundled-skills/pptx-deck-creation/references/visual-asset-adapters.md +158 -0
- package/bundled-skills/privilege-escalation-methods/SKILL.md +1 -1
- package/bundled-skills/product-decision-agent/SKILL.md +94 -0
- package/bundled-skills/product-decision-agent/agents/openai.yaml +7 -0
- package/bundled-skills/product-decision-agent/references/methodology-basis.md +232 -0
- package/bundled-skills/product-decision-agent/references/product-playbooks.md +813 -0
- package/bundled-skills/product-decision-agent/references/reasoning-engine.md +289 -0
- package/bundled-skills/product-decision-agent/references/response-examples.md +279 -0
- package/bundled-skills/product-decision-agent/scripts/quality_gate.py +221 -0
- package/bundled-skills/product-decision-agent/scripts/test_quality_gate.py +94 -0
- package/bundled-skills/pytest-skill/reference/playbook.md +358 -0
- package/bundled-skills/quit-sponsor/SKILL.md +96 -0
- package/bundled-skills/rclone-cli/references/providers/s3.md +1 -1
- package/bundled-skills/security-and-hardening/SKILL.md +1 -1
- package/bundled-skills/semgrep-rule-creator/SKILL.md +6 -6
- package/bundled-skills/skill-creator/README.md +3 -3
- package/bundled-skills/skill-creator/SKILL.md +8 -4
- package/bundled-skills/skill-creator/scripts/quick_validate.py +1 -1
- package/bundled-skills/sql-injection-testing/SKILL.md +4 -4
- package/bundled-skills/subagent-orchestrator/README.md +1 -1
- package/bundled-skills/super-code/bash/SKILL.md +3 -0
- package/bundled-skills/super-code/c/SKILL.md +3 -0
- package/bundled-skills/super-code/cpp/SKILL.md +3 -0
- package/bundled-skills/super-code/csharp/SKILL.md +3 -0
- package/bundled-skills/super-code/dart/SKILL.md +3 -0
- package/bundled-skills/super-code/elixir/SKILL.md +3 -0
- package/bundled-skills/super-code/go/SKILL.md +3 -0
- package/bundled-skills/super-code/java/SKILL.md +3 -0
- package/bundled-skills/super-code/kotlin/SKILL.md +3 -0
- package/bundled-skills/super-code/php/SKILL.md +3 -0
- package/bundled-skills/super-code/python/SKILL.md +3 -0
- package/bundled-skills/super-code/ruby/SKILL.md +3 -0
- package/bundled-skills/super-code/rust/SKILL.md +3 -0
- package/bundled-skills/super-code/scala/SKILL.md +3 -0
- package/bundled-skills/super-code/swift/SKILL.md +3 -0
- package/bundled-skills/super-code/typescript/SKILL.md +3 -0
- package/bundled-skills/telegram-bot-messaging/README.md +185 -0
- package/bundled-skills/telegram-bot-messaging/SKILL.md +101 -0
- package/bundled-skills/telegram-bot-messaging/scripts/telegram.sh +420 -0
- package/bundled-skills/test-guard/SKILL.md +132 -0
- package/bundled-skills/test-guard/references/jest.md +50 -0
- package/bundled-skills/test-guard/references/llm-app-testing.md +40 -0
- package/bundled-skills/test-guard/references/phpunit.md +56 -0
- package/bundled-skills/test-guard/references/pytest.md +65 -0
- package/bundled-skills/trading-ledger/SKILL.md +11 -3
- package/bundled-skills/uizze-ui-research/SKILL.md +93 -0
- package/bundled-skills/vibe-code-auditor/SKILL.md +1 -1
- package/bundled-skills/vibecode-production-qa-validator/SKILL.md +1 -1
- package/bundled-skills/videodb/scripts/ws_listener.py +29 -15
- package/bundled-skills/voice-ai-engine-development/README.md +1 -1
- package/bundled-skills/vulnerability-scanner/SKILL.md +1 -1
- package/bundled-skills/warehouse/SKILL.md +154 -0
- package/bundled-skills/woo-guard/SKILL.md +113 -0
- package/bundled-skills/woo-guard/references/checkout-and-money.md +64 -0
- package/bundled-skills/woo-guard/references/hpos-and-crud.md +87 -0
- package/bundled-skills/woo-guard/references/review-checklist.md +44 -0
- package/bundled-skills/woo-guard/references/sources.md +17 -0
- package/bundled-skills/wp-guard/SKILL.md +119 -0
- package/bundled-skills/wp-guard/references/i18n.md +88 -0
- package/bundled-skills/wp-guard/references/performance.md +70 -0
- package/bundled-skills/wp-guard/references/review-checklist.md +57 -0
- package/bundled-skills/wp-guard/references/security.md +100 -0
- package/bundled-skills/wp-guard/references/sources.md +27 -0
- package/bundled-skills/writing-skills/gotchas.md +1 -1
- package/bundled-skills/writing-skills/references/standards/metadata-standard.md +1 -1
- package/bundled-skills/x-twitter-scraper/SKILL.md +14 -32
- package/bundled-skills/xss-html-injection/SKILL.md +3 -3
- package/bundled-skills/youtube-seo-optimizer/SKILL.md +1 -1
- package/bundled-skills/youtube-summarizer/CHANGELOG.md +2 -2
- package/package.json +1 -1
- package/skills_index.json +273 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""List all lore entries in `.lore/` as JSON or human-readable text.
|
|
3
|
+
|
|
4
|
+
Usage:
|
|
5
|
+
python list_entries.py # human-readable
|
|
6
|
+
python list_entries.py --json # JSON output
|
|
7
|
+
python list_entries.py --scope=frontend
|
|
8
|
+
python list_entries.py --layer=ARCH
|
|
9
|
+
|
|
10
|
+
Walks `.lore/_global/*` and `.lore/scopes/*/*` and parses every
|
|
11
|
+
Markdown bullet that matches the entry format. Output is one record per
|
|
12
|
+
entry with these fields:
|
|
13
|
+
|
|
14
|
+
id full ID, e.g. "ARCH-2026-07-09-a3f2"
|
|
15
|
+
layer prefix, e.g. "ARCH" / "DEC" / "CONV"
|
|
16
|
+
layer_file source file stem, e.g. "ARCHITECTURE"
|
|
17
|
+
scope scope name, or "_global"
|
|
18
|
+
file path relative to .lore/, e.g. "scopes/frontend/ARCHITECTURE.md"
|
|
19
|
+
text entry body, with tags stripped
|
|
20
|
+
tags dict of tag name -> value, e.g. {"added": "2026-07-09", "verified": "2026-07-15"}
|
|
21
|
+
last_verified value of #verified tag, or None
|
|
22
|
+
|
|
23
|
+
Used by:
|
|
24
|
+
- query / audit / compress workflows (pre-step enumeration)
|
|
25
|
+
- find_duplicates.py
|
|
26
|
+
- find_stale.py
|
|
27
|
+
"""
|
|
28
|
+
import json
|
|
29
|
+
import re
|
|
30
|
+
import sys
|
|
31
|
+
from pathlib import Path
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# Schema version this skill understands. Bumped only on breaking
|
|
35
|
+
# config changes; see references/compatibility.md.
|
|
36
|
+
KNOWN_SCHEMA_VERSION = 1
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def check_schema_version(lore_root: Path) -> None:
|
|
40
|
+
"""Warn if .lore/.config.json is missing or has an unknown schema_version.
|
|
41
|
+
|
|
42
|
+
Output goes to stderr so it does not pollute --json consumers.
|
|
43
|
+
Idempotent and best-effort: any failure (missing file, malformed
|
|
44
|
+
JSON, permission error) is silent — config is optional and the
|
|
45
|
+
user can address it separately.
|
|
46
|
+
"""
|
|
47
|
+
cfg_path = lore_root / ".config.json"
|
|
48
|
+
if not cfg_path.exists():
|
|
49
|
+
return
|
|
50
|
+
try:
|
|
51
|
+
cfg = json.loads(cfg_path.read_text(encoding="utf-8"))
|
|
52
|
+
except (json.JSONDecodeError, OSError):
|
|
53
|
+
return
|
|
54
|
+
|
|
55
|
+
version = cfg.get("schema_version")
|
|
56
|
+
if version is None:
|
|
57
|
+
print(
|
|
58
|
+
"[WARN] .lore/.config.json has no schema_version field. "
|
|
59
|
+
"Add \"schema_version\": 1 so future lore upgrades can detect "
|
|
60
|
+
"this config and prompt for migrations when they exist.",
|
|
61
|
+
file=sys.stderr,
|
|
62
|
+
)
|
|
63
|
+
elif isinstance(version, int) and version > KNOWN_SCHEMA_VERSION:
|
|
64
|
+
print(
|
|
65
|
+
f"[WARN] .lore/.config.json#schema_version={version} is newer "
|
|
66
|
+
f"than this lore skill expects (max: {KNOWN_SCHEMA_VERSION}). "
|
|
67
|
+
"Pull the latest lore from upstream.",
|
|
68
|
+
file=sys.stderr,
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def find_lore_root(start: Path) -> Path:
|
|
73
|
+
"""Walk up from start to find the project root containing .lore/."""
|
|
74
|
+
p = start.resolve()
|
|
75
|
+
while p != p.parent:
|
|
76
|
+
if (p / ".lore").is_dir():
|
|
77
|
+
return p / ".lore"
|
|
78
|
+
p = p.parent
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
def parse_entry(line: str):
|
|
83
|
+
"""Parse one Markdown bullet line. Returns dict or None if not an entry."""
|
|
84
|
+
m = re.match(
|
|
85
|
+
r"^\s*-\s*\[([A-Z]+)-(\d{4}-\d{2}-\d{2})-([a-f0-9]{4})\]\s+(.*?)\s*$",
|
|
86
|
+
line,
|
|
87
|
+
)
|
|
88
|
+
if not m:
|
|
89
|
+
return None
|
|
90
|
+
|
|
91
|
+
layer, date, h, rest = m.group(1), m.group(2), m.group(3), m.group(4)
|
|
92
|
+
eid = f"{layer}-{date}-{h}"
|
|
93
|
+
|
|
94
|
+
# Extract #tag:value pairs
|
|
95
|
+
tag_re = re.compile(r"#(added|verified|stale|archived):(\S+)")
|
|
96
|
+
tags = {name: val for name, val in tag_re.findall(rest)}
|
|
97
|
+
text = tag_re.sub("", rest).strip()
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
"id": eid,
|
|
101
|
+
"layer": layer,
|
|
102
|
+
"layer_file": None, # filled in by caller
|
|
103
|
+
"scope": None, # filled in by caller
|
|
104
|
+
"file": None, # filled in by caller
|
|
105
|
+
"text": text,
|
|
106
|
+
"tags": tags,
|
|
107
|
+
"last_verified": tags.get("verified"),
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def collect_entries(root: Path):
|
|
112
|
+
entries = []
|
|
113
|
+
layers_dirs = [("_global", root / "_global"), ("scopes", root / "scopes")]
|
|
114
|
+
|
|
115
|
+
for section_name, section_path in layers_dirs:
|
|
116
|
+
if not section_path.exists():
|
|
117
|
+
continue
|
|
118
|
+
for md_file in sorted(section_path.rglob("*.md")):
|
|
119
|
+
if section_name == "_global":
|
|
120
|
+
scope = "_global"
|
|
121
|
+
else:
|
|
122
|
+
scope = md_file.parent.name
|
|
123
|
+
layer_file = md_file.stem
|
|
124
|
+
try:
|
|
125
|
+
with open(md_file, encoding="utf-8") as f:
|
|
126
|
+
for line in f:
|
|
127
|
+
e = parse_entry(line)
|
|
128
|
+
if e is None:
|
|
129
|
+
continue
|
|
130
|
+
e["scope"] = scope
|
|
131
|
+
e["layer_file"] = layer_file
|
|
132
|
+
e["file"] = str(md_file.relative_to(root))
|
|
133
|
+
entries.append(e)
|
|
134
|
+
except OSError as exc:
|
|
135
|
+
print(f"warning: cannot read {md_file}: {exc}", file=sys.stderr)
|
|
136
|
+
return entries
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
def main():
|
|
140
|
+
args = sys.argv[1:]
|
|
141
|
+
|
|
142
|
+
scope_filter = None
|
|
143
|
+
layer_filter = None
|
|
144
|
+
json_output = "--json" in args
|
|
145
|
+
|
|
146
|
+
for arg in args:
|
|
147
|
+
if arg.startswith("--scope="):
|
|
148
|
+
scope_filter = arg.split("=", 1)[1]
|
|
149
|
+
elif arg.startswith("--layer="):
|
|
150
|
+
layer_filter = arg.split("=", 1)[1]
|
|
151
|
+
|
|
152
|
+
root = find_lore_root(Path("."))
|
|
153
|
+
if root is None:
|
|
154
|
+
print("error: .lore/ not found (run from project root or below)",
|
|
155
|
+
file=sys.stderr)
|
|
156
|
+
sys.exit(1)
|
|
157
|
+
|
|
158
|
+
check_schema_version(root)
|
|
159
|
+
entries = collect_entries(root)
|
|
160
|
+
|
|
161
|
+
if scope_filter:
|
|
162
|
+
entries = [e for e in entries if e["scope"] == scope_filter]
|
|
163
|
+
if layer_filter:
|
|
164
|
+
entries = [e for e in entries if e["layer"] == layer_filter]
|
|
165
|
+
|
|
166
|
+
if json_output:
|
|
167
|
+
print(json.dumps(entries, indent=2, ensure_ascii=False))
|
|
168
|
+
return
|
|
169
|
+
|
|
170
|
+
if not entries:
|
|
171
|
+
print("(no entries)")
|
|
172
|
+
return
|
|
173
|
+
|
|
174
|
+
for e in entries:
|
|
175
|
+
verified = (
|
|
176
|
+
f" [verified:{e['last_verified']}]" if e["last_verified"] else ""
|
|
177
|
+
)
|
|
178
|
+
stale = " [STALE]" if "stale" in e["tags"] else ""
|
|
179
|
+
print(f"[{e['file']}] {e['id']} {e['text']}{verified}{stale}")
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
if __name__ == "__main__":
|
|
183
|
+
main()
|
|
@@ -14,7 +14,7 @@ tools: [claude, cursor, codex, antigravity, gemini-cli]
|
|
|
14
14
|
# lovable-cleanup
|
|
15
15
|
|
|
16
16
|
> Remove every trace of Lovable scaffolding and ship the project as your own.
|
|
17
|
-
> Made with [
|
|
17
|
+
> Made with [agentic-awesome-skills](https://github.com/sickn33/agentic-awesome-skills) · author: **whoisabhishekadhikari**
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
@@ -395,7 +395,7 @@ wrapper — React-level title tags override `index.html` at runtime.
|
|
|
395
395
|
- [Lovable docs](https://docs.lovable.dev)
|
|
396
396
|
- [shadcn/ui component list](https://ui.shadcn.com/docs/components)
|
|
397
397
|
- [Radix UI primitives](https://www.radix-ui.com/primitives)
|
|
398
|
-
- [
|
|
398
|
+
- [agentic-awesome-skills](https://github.com/sickn33/agentic-awesome-skills)
|
|
399
399
|
|
|
400
400
|
---
|
|
401
401
|
|
|
@@ -416,4 +416,4 @@ After completing the audit, produce a cleanup report:
|
|
|
416
416
|
|
|
417
417
|
---
|
|
418
418
|
|
|
419
|
-
*Made with [
|
|
419
|
+
*Made with [agentic-awesome-skills](https://github.com/sickn33/agentic-awesome-skills) · author: [whoisabhishekadhikari](https://github.com/whoisabhishekadhikari)*
|
|
@@ -80,17 +80,30 @@ cat conversation.json | mmx text chat --messages-file - --output json
|
|
|
80
80
|
|
|
81
81
|
### image generate
|
|
82
82
|
|
|
83
|
-
Generate images. Model: `image-01`.
|
|
83
|
+
Generate images through MiniMax. Use this command for text-to-image tasks, thumbnails, concept art, social visuals, and quick prompt iteration. Model: `image-01`.
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
86
|
mmx image generate --prompt <text> [flags]
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
+
# Machine-readable response for agents
|
|
90
91
|
mmx image generate --prompt "A cat in a spacesuit" --output json --quiet
|
|
92
|
+
|
|
93
|
+
# Save multiple generated images to a directory
|
|
91
94
|
mmx image generate --prompt "Logo" --n 3 --out-dir ./gen/ --quiet
|
|
95
|
+
|
|
96
|
+
# Select region explicitly when a workflow must stay on one MiniMax endpoint family
|
|
97
|
+
mmx image generate --prompt "Product hero image" --region global --output json --quiet
|
|
98
|
+
mmx image generate --prompt "Product hero image" --region cn --output json --quiet
|
|
92
99
|
```
|
|
93
100
|
|
|
101
|
+
Agent notes:
|
|
102
|
+
|
|
103
|
+
- Prefer `--output json --quiet --non-interactive` when another tool will parse the result.
|
|
104
|
+
- Use `--dry-run` before API-backed calls when validating arguments or CI examples.
|
|
105
|
+
- Keep generated media in a task-local output directory and validate returned file paths or URLs before reusing them.
|
|
106
|
+
|
|
94
107
|
---
|
|
95
108
|
|
|
96
109
|
### video generate
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
name: monopoly
|
|
3
3
|
description: >
|
|
4
4
|
MONOPOLY is a Senior System Design Engineer skill for architecting, reviewing, and scaling systems. Triggers on requests involving architecture, databases, scaling, microservices, or infrastructure design. Proactively engages to design resilient backend systems.
|
|
5
|
+
risk: unknown
|
|
6
|
+
source: community
|
|
5
7
|
---
|
|
6
8
|
|
|
7
9
|
# MONOPOLY — Senior System Design Engineer
|
|
@@ -10,6 +12,9 @@ You are **MONOPOLY**, a world-class Senior System Design Engineer with 20+ years
|
|
|
10
12
|
|
|
11
13
|
---
|
|
12
14
|
|
|
15
|
+
## When to Use
|
|
16
|
+
- Use this skill when the task matches this description: MONOPOLY is a Senior System Design Engineer skill for architecting, reviewing, and scaling systems. Triggers on requests involving architecture, databases, scaling, microservices, or infrastructure design. Proactively engages to design resilient backend systems.
|
|
17
|
+
|
|
13
18
|
## Core Operating Modes
|
|
14
19
|
|
|
15
20
|
When a user interacts with you, identify which mode applies and execute it fully:
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: patterns
|
|
3
3
|
description: Reference document for monopoly patterns.
|
|
4
|
+
source: community
|
|
4
5
|
risk: safe
|
|
5
6
|
reports-to: monopoly
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# MONOPOLY — Design Patterns Deep Dive
|
|
9
10
|
|
|
11
|
+
## When to Use
|
|
12
|
+
- Use this skill when the task matches this description: Reference document for monopoly patterns.
|
|
13
|
+
|
|
10
14
|
## Table of Contents
|
|
11
15
|
1. CQRS
|
|
12
16
|
2. Event Sourcing
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scale-benchmarks
|
|
3
3
|
description: Reference document for monopoly scale-benchmarks.
|
|
4
|
+
source: community
|
|
4
5
|
risk: safe
|
|
5
6
|
reports-to: monopoly
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# MONOPOLY — Scale Benchmarks & Estimation Formulas
|
|
9
10
|
|
|
11
|
+
## When to Use
|
|
12
|
+
- Use this skill when the task matches this description: Reference document for monopoly scale-benchmarks.
|
|
13
|
+
|
|
10
14
|
## Quick Estimation Formulas
|
|
11
15
|
|
|
12
16
|
### User → RPS Conversion
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: security-checklist
|
|
3
3
|
description: Reference document for monopoly security-checklist.
|
|
4
|
+
source: community
|
|
4
5
|
risk: safe
|
|
5
6
|
reports-to: monopoly
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# MONOPOLY — Security Hardening Checklist
|
|
9
10
|
|
|
11
|
+
## When to Use
|
|
12
|
+
- Use this skill when the task matches this description: Reference document for monopoly security-checklist.
|
|
13
|
+
|
|
10
14
|
## Network Security
|
|
11
15
|
- [ ] All services inside private VPC; only LB/API GW exposed publicly
|
|
12
16
|
- [ ] Security groups follow least-privilege (deny all, allow specific ports/CIDRs)
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tech-matrix
|
|
3
3
|
description: Reference document for monopoly tech-matrix.
|
|
4
|
+
source: community
|
|
4
5
|
risk: safe
|
|
5
6
|
reports-to: monopoly
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
# MONOPOLY — Technology Decision Matrix
|
|
9
10
|
|
|
11
|
+
## When to Use
|
|
12
|
+
- Use this skill when the task matches this description: Reference document for monopoly tech-matrix.
|
|
13
|
+
|
|
10
14
|
## Table of Contents
|
|
11
15
|
1. Database Selection
|
|
12
16
|
2. Cache Selection
|
|
@@ -309,7 +309,7 @@ metadata:
|
|
|
309
309
|
# Istio - Check certificate expiry
|
|
310
310
|
istioctl proxy-config secret deploy/my-app -o json | \
|
|
311
311
|
jq '.dynamicActiveSecrets[0].secret.tlsCertificate.certificateChain.inlineBytes' | \
|
|
312
|
-
tr -d '"' | base64 -d | openssl x509 -text -noout
|
|
312
|
+
tr -d '"' | base64 -d | openssl x509 -text -noout # security-allowlist: local certificate inspection
|
|
313
313
|
|
|
314
314
|
# Force certificate rotation
|
|
315
315
|
kubectl rollout restart deployment/my-app
|
|
@@ -170,9 +170,8 @@ Set up SMB file shares for enumeration:
|
|
|
170
170
|
# Install Samba
|
|
171
171
|
sudo apt install samba
|
|
172
172
|
|
|
173
|
-
# Create share directory
|
|
174
|
-
sudo
|
|
175
|
-
sudo chmod 777 /srv/samba/share
|
|
173
|
+
# Create a group-scoped share directory instead of a world-writable one
|
|
174
|
+
sudo install -d -m 0770 -o root -g sambashare /srv/samba/share
|
|
176
175
|
|
|
177
176
|
# Configure Samba
|
|
178
177
|
sudo nano /etc/samba/smb.conf
|
|
@@ -324,8 +323,8 @@ snmpwalk -c public -v1 localhost
|
|
|
324
323
|
```bash
|
|
325
324
|
# Configure anonymous share
|
|
326
325
|
sudo apt install samba
|
|
327
|
-
|
|
328
|
-
sudo
|
|
326
|
+
# Keep the service-owned anonymous share non-world-writable.
|
|
327
|
+
sudo install -d -m 0770 -o root -g sambashare /srv/samba/anonymous
|
|
329
328
|
|
|
330
329
|
# Test access
|
|
331
330
|
smbclient //localhost/anonymous -N
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nika
|
|
3
|
+
description: "Runs repeatable AI work as checked, budgeted workflow files."
|
|
4
|
+
risk: critical
|
|
5
|
+
source: https://github.com/supernovae-st/nika-agents/tree/main/skills/nika
|
|
6
|
+
source_repo: supernovae-st/nika-agents
|
|
7
|
+
source_type: community
|
|
8
|
+
version: 1.1.0
|
|
9
|
+
author: Thibaut Melen (@ThibautMelen) · SuperNovae Studio (github.com/supernovae-st)
|
|
10
|
+
license: MIT
|
|
11
|
+
license_source: https://github.com/supernovae-st/nika-agents/blob/main/LICENSE
|
|
12
|
+
platforms: [linux, macos]
|
|
13
|
+
prerequisites:
|
|
14
|
+
commands: [nika]
|
|
15
|
+
metadata:
|
|
16
|
+
hermes:
|
|
17
|
+
tags: [Workflow, Automation, Deterministic, Cost-Control, Audit, Local-First, MCP]
|
|
18
|
+
category: autonomous-ai-agents
|
|
19
|
+
related_skills: [opencode, claude-code, codex]
|
|
20
|
+
homepage: https://nika.sh
|
|
21
|
+
requires_toolsets: [terminal]
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# Nika Skill
|
|
25
|
+
|
|
26
|
+
Use [Nika](https://nika.sh) as a deterministic workflow worker orchestrated by
|
|
27
|
+
the Hermes `terminal` tool. Nika is an open-source (AGPL) Rust engine that captures
|
|
28
|
+
a repeatable AI task as a plain-text `*.nika.yaml` file, audits it **before a
|
|
29
|
+
single token is spent** (plan, cost floor, secret flows, types), executes it
|
|
30
|
+
against local or cloud providers (Ollama/llama.cpp/vLLM included), and records
|
|
31
|
+
a tamper-evident trace.
|
|
32
|
+
|
|
33
|
+
Division of labor: **Hermes orchestrates · Nika captures repeatable work as a
|
|
34
|
+
checkable file and runs it with receipts.** Nika is NOT another coding agent —
|
|
35
|
+
for autonomous coding, use the `opencode` skill. Delegate to Nika when the
|
|
36
|
+
work should be *repeatable, budgeted, and auditable*.
|
|
37
|
+
|
|
38
|
+
## When to Use
|
|
39
|
+
|
|
40
|
+
- The user asks to run, check, or author a `*.nika.yaml` workflow
|
|
41
|
+
- A task will be repeated (daily digest, triage, ETL, report, multi-step LLM
|
|
42
|
+
pipeline) — capture it as a workflow instead of re-prompting
|
|
43
|
+
- The user wants a hard cost cap, a cost estimate before running, or
|
|
44
|
+
receipts/audit of what ran
|
|
45
|
+
- A pipeline mixes models/providers (local + cloud) or mixes LLM steps with
|
|
46
|
+
shell/HTTP/file steps
|
|
47
|
+
- The user wants a run they can replay, verify, or reproduce later
|
|
48
|
+
|
|
49
|
+
### When NOT to use
|
|
50
|
+
|
|
51
|
+
- One-off questions or single tool calls — just answer or use a tool
|
|
52
|
+
- Autonomous code implementation/refactoring/PR review — use the `opencode` skill
|
|
53
|
+
- Interactive back-and-forth tasks — workflows are non-interactive by design
|
|
54
|
+
|
|
55
|
+
## Prerequisites
|
|
56
|
+
|
|
57
|
+
- Nika installed: `brew install supernovae-st/tap/nika` — other install
|
|
58
|
+
paths (script, manual download) are documented at https://nika.sh: installing
|
|
59
|
+
is a human step, not something this skill runs
|
|
60
|
+
- Verify: `terminal(command="nika --version")`
|
|
61
|
+
- Zero keys needed for local/offline work: `--model mock/echo` (offline) and
|
|
62
|
+
`--model ollama/...` (local) run without any API key
|
|
63
|
+
- Cloud providers read standard env vars from the shell;
|
|
64
|
+
`terminal(command="nika doctor")` diagnoses and prints exact fix commands
|
|
65
|
+
|
|
66
|
+
## How to Run
|
|
67
|
+
|
|
68
|
+
Prove the toolchain offline first (no key, no network):
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
terminal(command="nika examples run 01-hello --model mock/echo")
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Run a real workflow — local model first:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
terminal(command="nika run flow.nika.yaml --model ollama/qwen3.5:4b", workdir="~/project")
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Cloud model with a hard budget (always set one for paid models):
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
terminal(command="nika run flow.nika.yaml --model mistral/mistral-small-latest --max-cost-usd 0.25", workdir="~/project")
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Pass workflow variables:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
terminal(command="nika run report.nika.yaml --var city=Paris --var days=7 --max-cost-usd 0.50", workdir="~/project")
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Long runs: launch in background and poll — do not block the turn:
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
terminal(command="nika run long.nika.yaml --max-cost-usd 1.00", workdir="~/project", background=true)
|
|
96
|
+
process(action="poll", session_id="<id>")
|
|
97
|
+
process(action="log", session_id="<id>")
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### The check-before-run law
|
|
101
|
+
|
|
102
|
+
Never run a workflow you have not checked. `nika check` is a static pre-flight
|
|
103
|
+
(no tokens spent, no network): plan shape, cost floor, secret-flow analysis,
|
|
104
|
+
type checks, tool args.
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
terminal(command="nika check flow.nika.yaml --json", workdir="~/project")
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Findings carry `NIKA-XXXX` codes that explain themselves via
|
|
111
|
+
`nika explain NIKA-XXXX`. Exit 0 = green, safe to run. Fix findings before
|
|
112
|
+
running — never suppress them.
|
|
113
|
+
|
|
114
|
+
### Authoring a workflow
|
|
115
|
+
|
|
116
|
+
Turn a repeated task into a file. List templates, then instantiate:
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
terminal(command="nika new --from '?'")
|
|
120
|
+
terminal(command="nika new flow.nika.yaml --from chain", workdir="~/project")
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
`--from` also accepts plain-words intent. Edit the skeleton (`vars:`,
|
|
124
|
+
`tasks:`, `outputs:`), then **check it**. `nika explain flow.nika.yaml`
|
|
125
|
+
narrates what it will do, the waves, the cost floor, and what it touches —
|
|
126
|
+
before anything runs.
|
|
127
|
+
|
|
128
|
+
The artifact you are producing looks like this (checks clean on 0.98):
|
|
129
|
+
|
|
130
|
+
```yaml
|
|
131
|
+
nika: v1
|
|
132
|
+
workflow: daily-brief
|
|
133
|
+
model: ollama/qwen3.5:4b
|
|
134
|
+
tasks:
|
|
135
|
+
- id: fetch
|
|
136
|
+
invoke:
|
|
137
|
+
tool: "nika:fetch"
|
|
138
|
+
args: { url: "https://hn.algolia.com/api/v1/search?tags=front_page" }
|
|
139
|
+
- id: brief
|
|
140
|
+
depends_on: [fetch]
|
|
141
|
+
infer:
|
|
142
|
+
max_tokens: 300
|
|
143
|
+
prompt: |
|
|
144
|
+
Five bullet points, most signal first: ${{ tasks.fetch.output }}
|
|
145
|
+
outputs:
|
|
146
|
+
brief: ${{ tasks.brief.output }}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
One file, plain YAML: tasks, an explicit dependency, a bounded model step,
|
|
150
|
+
a declared output. That file is what gets checked, run, diffed and reused.
|
|
151
|
+
|
|
152
|
+
### Cost honesty
|
|
153
|
+
|
|
154
|
+
- When the workflow prices above the budget, `--max-cost-usd` refuses to
|
|
155
|
+
start (exit 2, zero tokens) — and since 0.99 the pre-start floor prices
|
|
156
|
+
the EFFECTIVE model, `--model` override included
|
|
157
|
+
- Mid-run, the ledger stops the workflow the moment real spend crosses the
|
|
158
|
+
budget: the crossing call completes, nothing new starts, the run fails
|
|
159
|
+
`NIKA-1704` (exit 1) with spent-vs-budget
|
|
160
|
+
- Estimates use LIST RATES from the vendored public catalog; local · mock ·
|
|
161
|
+
unpriced work is never blocked
|
|
162
|
+
- A model absent from the catalog meters as $0 — a paid *uncataloged* model
|
|
163
|
+
runs with no budget protection; prefer cataloged ids (`nika catalog`)
|
|
164
|
+
- Report the cost line from the final run card (the summary block `nika
|
|
165
|
+
run` prints last — status, cost, trace path) back to the user verbatim
|
|
166
|
+
|
|
167
|
+
### Receipts and verification
|
|
168
|
+
|
|
169
|
+
Every run writes a trace under `.nika/traces/` — the run card prints the
|
|
170
|
+
trace path on its `trace:` line. Both commands take that path (bare
|
|
171
|
+
invocations are a usage error):
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
terminal(command="nika trace show .nika/traces/<run>.ndjson", workdir="~/project")
|
|
175
|
+
terminal(command="nika trace verify .nika/traces/<run>.ndjson", workdir="~/project")
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
`trace verify` checks the tamper-evidence hash chain: exit 0 intact · 2
|
|
179
|
+
broken · 3 pre-chain. Also useful: `nika trace outputs` · `nika trace flow` ·
|
|
180
|
+
`nika trace reproduce` · `nika trace export` (OTLP lines).
|
|
181
|
+
|
|
182
|
+
### Optional: MCP oracle tools
|
|
183
|
+
|
|
184
|
+
Nika also ships a read-only MCP oracle (`nika mcp`) exposing validation and
|
|
185
|
+
learning tools (`nika_check`, `nika_explain`, `nika_schema`, `nika_examples`,
|
|
186
|
+
`nika_template`, `nika_canon`, `nika_catalog`, `nika_tools`). If the user
|
|
187
|
+
wants those wired into their agent client, point them at the wiring guide —
|
|
188
|
+
https://github.com/supernovae-st/nika-agents/tree/main/integrations/mcp —
|
|
189
|
+
editing the client's own configuration is the user's step, never this
|
|
190
|
+
skill's. Without the oracle, everything above still works over the terminal;
|
|
191
|
+
running workflows stays there regardless, where the budget flags and traces
|
|
192
|
+
live.
|
|
193
|
+
|
|
194
|
+
## Quick Reference
|
|
195
|
+
|
|
196
|
+
| Command | Use |
|
|
197
|
+
|---------|-----|
|
|
198
|
+
| `nika welcome` | What Nika is + what this machine has (offline, exit 0) |
|
|
199
|
+
| `nika new <file> --from <template>` | Scaffold a workflow (`--from '?'` lists) |
|
|
200
|
+
| `nika check <file> --json` | Static pre-flight — ALWAYS before run |
|
|
201
|
+
| `nika explain <file>` | Narrate: waves, cost floor, touches |
|
|
202
|
+
| `nika run <file> --model <p/m> --max-cost-usd <usd>` | Execute with budget |
|
|
203
|
+
| `nika test <file>` | Golden test under the mock provider (offline) |
|
|
204
|
+
| `nika trace show/verify/outputs/flow <trace>` | Receipts after a run (path from the run card's `trace:` line) |
|
|
205
|
+
| `nika doctor` | Diagnose env/keys — prints exact fixes |
|
|
206
|
+
| `nika catalog` | Provider/model ids + required env vars |
|
|
207
|
+
|
|
208
|
+
## Procedure
|
|
209
|
+
|
|
210
|
+
1. Verify readiness: `terminal(command="nika --version")`; install per
|
|
211
|
+
Prerequisites if missing.
|
|
212
|
+
2. If the task is new, scaffold: `nika new <file> --from <template>`.
|
|
213
|
+
3. Check: `nika check <file> --json`. Fix every finding
|
|
214
|
+
(`nika explain <code>`). Do not run an unchecked file.
|
|
215
|
+
4. Preview offline when useful: `nika run <file> --model mock/echo`.
|
|
216
|
+
5. Run with an explicit `--model` and, for any paid model, an explicit
|
|
217
|
+
`--max-cost-usd`.
|
|
218
|
+
6. For long runs use `background=true` and poll with
|
|
219
|
+
`process(action="poll"|"log")`.
|
|
220
|
+
7. After the run: `nika trace show <trace>` + `nika trace verify <trace>`
|
|
221
|
+
(path from the run card); report outputs, actual cost, and the verify
|
|
222
|
+
verdict to the user.
|
|
223
|
+
|
|
224
|
+
### Rules
|
|
225
|
+
|
|
226
|
+
1. NEVER run an unchecked workflow — `nika check` first, every time.
|
|
227
|
+
2. ALWAYS pass `--max-cost-usd` when the model is a paid cloud model.
|
|
228
|
+
3. Prefer local models (`ollama/...`) or `mock/echo` for drafts; escalate to
|
|
229
|
+
cloud models only when needed.
|
|
230
|
+
4. Report the final run card honestly: status, actual cost, trace path,
|
|
231
|
+
`trace verify` verdict.
|
|
232
|
+
5. One workflow file per delegated task; keep files in the user's repo so
|
|
233
|
+
they are diffable and reusable.
|
|
234
|
+
6. If a run fails, read `nika explain <NIKA-code>` before retrying — do not
|
|
235
|
+
blind-retry.
|
|
236
|
+
|
|
237
|
+
## Pitfalls
|
|
238
|
+
|
|
239
|
+
- `nika run` renders live on a TTY; when piped (Hermes terminal), output can
|
|
240
|
+
stay quiet until completion — for anything long, prefer `background=true` +
|
|
241
|
+
poll, then read `nika trace show <trace>` for the final card.
|
|
242
|
+
- `nika new` with no `--from` opens a guided TTY flow; in a pipe it fails
|
|
243
|
+
fast naming the flag — always pass `--from <template>` when delegating.
|
|
244
|
+
- The budget guard stops NEW admissions: one wide parallel wave can overshoot
|
|
245
|
+
by that wave's spend. Tighten with `max_parallel:` when the budget is strict.
|
|
246
|
+
- Uncataloged model ids meter as $0 — never rely on `--max-cost-usd` for a
|
|
247
|
+
custom endpoint model.
|
|
248
|
+
- Workflow `outputs:` are not resolved on a budget stop — per-task values
|
|
249
|
+
live in the trace (`nika trace outputs`).
|
|
250
|
+
|
|
251
|
+
## Limitations
|
|
252
|
+
|
|
253
|
+
- Static checks reduce risk but cannot prove that remote content, shell steps,
|
|
254
|
+
provider behavior, or generated outputs are safe or correct.
|
|
255
|
+
- Cost caps are not reliable for uncataloged paid models and a parallel wave
|
|
256
|
+
can overshoot before new work is stopped; require explicit user approval for
|
|
257
|
+
paid runs and report the actual ledger result.
|
|
258
|
+
- Trace verification proves integrity of the recorded chain, not correctness
|
|
259
|
+
of the workflow or truth of its outputs.
|
|
260
|
+
|
|
261
|
+
## Verification
|
|
262
|
+
|
|
263
|
+
Smoke test (offline, zero keys):
|
|
264
|
+
|
|
265
|
+
```
|
|
266
|
+
terminal(command="nika examples run 01-hello --model mock/echo")
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Success criteria: run completes exit 0 with a final run card · `nika check`
|
|
270
|
+
exits 0 before any real run · `nika trace verify` exits 0 after the run.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: not-a-vibe-coder
|
|
3
3
|
description: Turns vague prompts into 8 structured planning files for brand new projects. DO NOT use on existing codebases.
|
|
4
|
+
source: community
|
|
4
5
|
risk: critical
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -11,6 +12,9 @@ documents that act as the project's persistent memory across a long context wind
|
|
|
11
12
|
The documents are the source of truth for "what we agreed on"; the user's live
|
|
12
13
|
instructions are always the final authority and can override the docs at any time.
|
|
13
14
|
|
|
15
|
+
## When to Use
|
|
16
|
+
- Use this skill when the task matches this description: Turns vague prompts into 8 structured planning files for brand new projects. DO NOT use on existing codebases.
|
|
17
|
+
|
|
14
18
|
## Core Principles (never violate these)
|
|
15
19
|
|
|
16
20
|
1. **User command > files > AI assumptions.** If the user says something that
|