docs(claude.md): add Orientation section, reframe as multi-harness Agent Skills package
Closes the spirit of #335 (closed in favor of this fresh PR after the sync.sh thread became obsolete via PR #405). Two changes: 1. Top-of-file description reframed from "Claude Code skill" to "Agent Skills package... installable across Claude Code (most common host), Codex, Cursor, GitHub Copilot, Gemini CLI, and 50+ other Agent Skills hosts". The skill works across every major agent host after the install-modernization work in PR #400/#404/#405/#409. Calling it "Claude Code skill" undersells the surface and biases contributors toward Claude-Code-specific assumptions. 2. New ## Orientation section (4 bullets) framing the project for contributors who would otherwise read the python3 invocation in ## Commands and form a CLI-first mental model. Names the trap explicitly with one concrete invalid-syntax example (`/last30days OpenClaw --emit=html | pbcopy` — slash commands don't pass shell mechanics through). Bullets adapted from #335 with multi-harness framing replacing the Claude-Code-only framing. No code changes. No SKILL.md changes. CLAUDE.md only. AGENTS.md inherits via @CLAUDE.md.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# last30days Skill
|
||||
|
||||
Claude Code skill for researching any topic across Reddit, X, YouTube, and web.
|
||||
Python scripts with multi-source search aggregation.
|
||||
Agent Skills package for researching any topic across Reddit, X, YouTube, and web. Installable across Claude Code (most common host), Codex, Cursor, GitHub Copilot, Gemini CLI, and 50+ other [Agent Skills](https://agentskills.io) hosts. Python scripts with multi-source search aggregation.
|
||||
|
||||
## Structure
|
||||
- `skills/last30days/SKILL.md` — canonical skill definition
|
||||
@@ -9,6 +8,12 @@ Python scripts with multi-source search aggregation.
|
||||
- `skills/last30days/scripts/lib/` — search, enrichment, rendering modules
|
||||
- `skills/last30days/scripts/lib/vendor/bird-search/` — vendored X search client
|
||||
|
||||
## Orientation
|
||||
- This is an Agent Skills package, not a CLI tool. The product is the slash-command-invoked skill (`/last30days <topic>` in most harnesses); `scripts/last30days.py` is implementation. Claude Code is the most common host but not the only one — features must work across every harness the skill installs into.
|
||||
- Feature design starts from the slash-command UX. A new engine flag with no SKILL.md integration is incomplete — the model invoking the skill won't know the flag exists.
|
||||
- README and PR examples show `/last30days <topic>` first. Direct CLI invocation (`python3 scripts/last30days.py ...`) is a fallback for scripting, cron, and dev-time engine testing; label it as such, never as the primary path.
|
||||
- Slash commands don't pass shell mechanics through. `/last30days OpenClaw --emit=html | pbcopy` is invalid in any harness — either use the slash form (no flags or pipes; let the model translate user intent into engine flags) or use the direct CLI form (full `python3 ...` with explicit flags and a real shell).
|
||||
|
||||
## Commands
|
||||
```bash
|
||||
python3 skills/last30days/scripts/last30days.py "test query" --emit=compact
|
||||
|
||||
Reference in New Issue
Block a user