Skip to content

Commit 4f7f7ff

Browse files
frankxaiclaude
andauthored
feat(skills): consume cosmos domain from starlight-agent-skills v0.1.0 (#26)
* feat(skills): consume cosmos domain from starlight-agent-skills v0.1.0 Mirror the 7 creator-content 'cosmos' skills from the canonical portable library (frankxai/starlight-agent-skills@v0.1.0, ff4efe5) into ACOS — the creator-OS home for space-content repurposers. Each skill ships self-contained (SKILL.md + manifest.json + examples + tests) and carries its 'Built on SIP' attestation. - apod-to-short, arxiv-space-paper-to-brief, cosmic-mythic-overlay, nasa-image-to-atlas-page, rights-check-nasa-esa, rocket-launch-to-reel, space-social-repurposer - 7 activation_rules registered in .claude/skill-rules.json (24 -> 31), no name collisions, JSON validated - COSMOS-PROVENANCE.md records source repo + pinned version + sync model (version-pinned mirror; edit upstream and re-mirror, never hand-edit here) Additive only. substrate domain stays for SIS; other creator domains (media/brand/education/research/coding) are follow-up mirror candidates. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017p63baTePEGahcRNS5Nn9t * fix(skills): satisfy Validate Agent Alignment gate on cosmos mirror The agent-alignment workflow requires YAML frontmatter on every changed .md file (except README/CLAUDE). Two fixes: - Trim the mirror to each skill's runnable core (SKILL.md + manifest.json); drop the upstream examples/ and tests/ markdown — they're QA artifacts a consumer doesn't need and they carry no frontmatter. They stay canonical in starlight-agent-skills (noted in COSMOS-PROVENANCE.md). - Add frontmatter (name/description) to COSMOS-PROVENANCE.md. Verified locally against the gate's exact check: all 8 changed .md files now begin with '---'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017p63baTePEGahcRNS5Nn9t * docs(skills): elevate COSMOS-PROVENANCE to professional standard Skills table, precise sync commands, cleaner version pin table, warm but direct tone, substrate exclusion note with skill names for clarity. --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent ff04f3c commit 4f7f7ff

16 files changed

Lines changed: 1019 additions & 0 deletions

File tree

.claude/skill-rules.json

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,150 @@
229229
"commands": ["/office-hours", "/plan-ceo-review", "/plan-eng-review", "/plan-design-review", "/review", "/qa", "/qa-only", "/ship", "/land-and-deploy", "/canary", "/benchmark", "/browse", "/cso", "/investigate", "/retro", "/autoplan", "/design-review", "/design-consultation", "/codex", "/careful", "/freeze", "/guard", "/unfreeze", "/setup-browser-cookies", "/setup-deploy", "/document-release", "/gstack-upgrade"]
230230
},
231231
"priority": "high"
232+
},
233+
{
234+
"skill": "apod-to-short",
235+
"triggers": {
236+
"keywords": [
237+
"apod",
238+
"astronomy picture of the day",
239+
"daily space short",
240+
"nasa image short",
241+
"space reel"
242+
],
243+
"file_patterns": [
244+
"apod.json",
245+
"apod-*.md"
246+
],
247+
"commands": [
248+
"/apod-to-short"
249+
]
250+
},
251+
"priority": "medium",
252+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
253+
},
254+
{
255+
"skill": "arxiv-space-paper-to-brief",
256+
"triggers": {
257+
"keywords": [
258+
"astro-ph",
259+
"astrophysics paper",
260+
"space paper",
261+
"observation paper",
262+
"mission result"
263+
],
264+
"file_patterns": [
265+
"papers/astro/**",
266+
"*.pdf"
267+
],
268+
"commands": [
269+
"/arxiv-space-paper-to-brief"
270+
]
271+
},
272+
"priority": "medium",
273+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
274+
},
275+
{
276+
"skill": "cosmic-mythic-overlay",
277+
"triggers": {
278+
"keywords": [
279+
"cosmic myth",
280+
"mythic space",
281+
"arcanea cosmos",
282+
"myth this nebula",
283+
"universe framing"
284+
],
285+
"file_patterns": [
286+
"arcanea/cosmos/**"
287+
],
288+
"commands": [
289+
"/cosmic-mythic-overlay"
290+
]
291+
},
292+
"priority": "medium",
293+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
294+
},
295+
{
296+
"skill": "nasa-image-to-atlas-page",
297+
"triggers": {
298+
"keywords": [
299+
"atlas page",
300+
"cosmic atlas",
301+
"object page",
302+
"gallery entry",
303+
"catalog entry",
304+
"nasa image page"
305+
],
306+
"file_patterns": [
307+
"content/atlas/**",
308+
"*.atlas.mdx"
309+
],
310+
"commands": [
311+
"/nasa-image-to-atlas-page"
312+
]
313+
},
314+
"priority": "medium",
315+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
316+
},
317+
{
318+
"skill": "rights-check-nasa-esa",
319+
"triggers": {
320+
"keywords": [
321+
"usage rights",
322+
"can i use this image",
323+
"attribution",
324+
"public domain",
325+
"nasa esa rights"
326+
],
327+
"file_patterns": [
328+
"rights.json",
329+
"credits.md"
330+
],
331+
"commands": [
332+
"/rights-check",
333+
"/rights-check-nasa-esa"
334+
]
335+
},
336+
"priority": "medium",
337+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
338+
},
339+
{
340+
"skill": "rocket-launch-to-reel",
341+
"triggers": {
342+
"keywords": [
343+
"launch reel",
344+
"rocket short",
345+
"launch recap short",
346+
"reel from launch"
347+
],
348+
"file_patterns": [
349+
"reels/**"
350+
],
351+
"commands": [
352+
"/rocket-launch-to-reel"
353+
]
354+
},
355+
"priority": "medium",
356+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
357+
},
358+
{
359+
"skill": "space-social-repurposer",
360+
"triggers": {
361+
"keywords": [
362+
"repurpose space",
363+
"space social pack",
364+
"distribute space content",
365+
"cross-post nasa"
366+
],
367+
"file_patterns": [
368+
"content/space/**"
369+
],
370+
"commands": [
371+
"/space-social-repurposer"
372+
]
373+
},
374+
"priority": "medium",
375+
"_source": "starlight-agent-skills@v0.1.0 (cosmos)"
232376
}
233377
],
234378

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
name: cosmos-provenance
3+
description: Provenance, version pin, and sync instructions for the 7 cosmos skills mirrored from starlight-agent-skills. Do not hand-edit these files — make changes upstream and re-mirror.
4+
---
5+
6+
# Cosmos skills — provenance
7+
8+
Seven production-grade space-content skills live here as a **version-pinned mirror** of
9+
[`frankxai/starlight-agent-skills`](https://github.com/frankxai/starlight-agent-skills).
10+
This directory is their runtime home in ACOS — the creator OS is the right layer for
11+
space-content repurposers. The source library remains the single source of truth.
12+
13+
## Version pin
14+
15+
| Field | Value |
16+
|-------|-------|
17+
| Source repo | [`frankxai/starlight-agent-skills`](https://github.com/frankxai/starlight-agent-skills) |
18+
| Source path | `skills/cosmos/` |
19+
| Pinned version | `v0.1.0` |
20+
| Pinned commit | `ff4efe5` (main, CI ✅) |
21+
| License | MIT (inherited from source) |
22+
| SIP attestation | present in every `manifest.json` |
23+
24+
## Skills in this mirror
25+
26+
| Skill | What it does |
27+
|-------|--------------|
28+
| `apod-to-short` | NASA APOD → 30–60s vertical short: script, captions, shot list, rights line |
29+
| `arxiv-space-paper-to-brief` | Astrophysics arXiv paper → audience-tuned brief with object/mission context |
30+
| `cosmic-mythic-overlay` | Arcanea mythic framing layered over real astronomy — facts and myth stay separable |
31+
| `nasa-image-to-atlas-page` | NASA/ESA image → MDX cosmic-atlas page with fact table, sources, and rights |
32+
| `rights-check-nasa-esa` | Usage-rights check for NASA/ESA/observatory media → correct attribution line |
33+
| `rocket-launch-to-reel` | Launch details → punchy 30–45s vertical reel: hook, narration, captions, credit |
34+
| `space-social-repurposer` | One space asset → coordinated multi-platform content pack, credits intact |
35+
36+
## What's included
37+
38+
Only the **runnable core**: `SKILL.md` + `manifest.json`. The `examples/` and `tests/`
39+
directories are QA artifacts that stay in the source library — consult
40+
[`starlight-agent-skills/skills/cosmos/`](https://github.com/frankxai/starlight-agent-skills/tree/main/skills/cosmos)
41+
to browse them.
42+
43+
## Sync rules
44+
45+
> Do not hand-edit these files. Make changes upstream in `starlight-agent-skills`,
46+
> get CI green there, then re-mirror here.
47+
48+
To re-mirror when the source publishes a new version:
49+
50+
```bash
51+
# From your local starlight-agent-skills clone:
52+
for skill in apod-to-short arxiv-space-paper-to-brief cosmic-mythic-overlay \
53+
nasa-image-to-atlas-page rights-check-nasa-esa \
54+
rocket-launch-to-reel space-social-repurposer; do
55+
node scripts/port-skill.mjs cosmos/$skill \
56+
--target=/path/to/agentic-creator-os/.claude/skills \
57+
--dry-run # review output, then remove --dry-run to write
58+
done
59+
```
60+
61+
After writing, update **Pinned version** and **Pinned commit** in the table above
62+
and open a PR.
63+
64+
## Not yet mirrored
65+
66+
The 15 creator-content skills across `media`, `brand`, `education`, `research`, and
67+
`coding` domains are the next mirror candidates. The `substrate` domain
68+
(`agentic-income`, `affiliate-audit`, `payments-mandate`, `swarm-queen-coordination`)
69+
is intentionally not mirrored here — those 4 skills belong in
70+
`Starlight-Intelligence-System`, not ACOS.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
name: apod-to-short
3+
description: "Turn a NASA Astronomy Picture of the Day (APOD) into a 30–60s vertical short — script, shot list, captions, and a rights line. Use when the user mentions APOD, 'astronomy picture of the day', or wants a daily space short/reel/TikTok from a NASA image."
4+
version: 0.1.0
5+
domain: cosmos
6+
tags: [nasa, apod, video, short, social]
7+
---
8+
9+
# APOD → Short
10+
11+
> NASA Astronomy Picture of the Day → a ready-to-shoot 30–60s vertical short.
12+
13+
## Purpose
14+
15+
NASA publishes a stunning image with an expert explanation every day. This skill
16+
converts one APOD entry into a complete vertical short package: a hook, a tight
17+
narration script, an on-screen caption track, a shot/animation list, and a
18+
rights line — so a creator can film/edit in one sitting without misstating the
19+
science or the licensing.
20+
21+
## When it fires
22+
23+
- Keyword triggers: `apod`, `astronomy picture of the day`, `daily space short`,
24+
`nasa image short`, `space reel`
25+
- File triggers: `apod.json`, `apod-*.md`
26+
- Command triggers: `/apod-to-short`
27+
28+
## Inputs
29+
30+
| Input | Required | Notes |
31+
|-------|----------|-------|
32+
| `apod` | yes | APOD URL/date, or the title + explanation text + image credit. |
33+
| `length` | no | Target seconds, default `45` (range 30–60). |
34+
| `voice` | no | `starlight` (default), `arcanea`, or `frankx` — see brand skills. |
35+
36+
## Workflow
37+
38+
1. **Resolve the APOD** — get title, date, explanation, media URL, and the exact
39+
image credit. If credit names a non-NASA party (ESA, an observatory, an
40+
individual), flag it for the rights step. ✅ Check: you have a verbatim credit
41+
string.
42+
2. **Extract the one idea** — reduce the explanation to a single, true,
43+
surprising fact a non-expert can grasp. ✅ Check: it survives "what does that
44+
mean specifically?"
45+
3. **Write the hook (0–3s)** — a question or claim that earns the first three
46+
seconds without clickbaiting the science.
47+
4. **Script the body** — narration timed to `length` at ~2.5 words/sec. Keep
48+
every claim traceable to the explanation; never invent figures.
49+
5. **Build the caption track** — short on-screen lines synced to beats (≤7 words
50+
each).
51+
6. **Write the shot list** — Ken Burns push/pan on the still, plus any overlay
52+
labels (object name, distance, instrument). No fabricated footage.
53+
7. **Emit the rights line** — exact attribution; route through
54+
[`rights-check-nasa-esa`](../rights-check-nasa-esa) if credit is non-NASA.
55+
56+
## Output contract
57+
58+
```json
59+
{
60+
"title": "string — APOD title",
61+
"hook": "string — 0–3s opener",
62+
"script": "string — full narration, timed",
63+
"captions": ["string — ≤7 words each"],
64+
"shot_list": ["string — shot/animation directions"],
65+
"rights_line": "string — exact attribution",
66+
"duration_sec": "number"
67+
}
68+
```
69+
70+
## Tools & MCP
71+
72+
- Tools: `WebFetch` (resolve APOD), `Read`.
73+
- MCP dependencies: none required. (Optional: a NASA-media MCP from
74+
`starlight-mcp` to fetch APOD JSON directly.)
75+
76+
## Quality bar
77+
78+
- [ ] Every stated fact is traceable to the APOD explanation — no invented numbers.
79+
- [ ] Rights line is verbatim and correct; non-NASA credit is flagged.
80+
- [ ] Narration fits `length` at ~2.5 words/sec.
81+
- [ ] Hook respects the audience's intelligence (no "scientists HATE this").
82+
83+
## Example
84+
85+
See [`examples/example-01.md`](examples/example-01.md).
86+
87+
---
88+
89+
Built on SIP — Starlight Intelligence Protocol
90+
Substrate: starlightintelligence.org/protocol v1.1.0
91+
Layers used: [file-contract, attestation, sovereignty]
92+
Vertical: starlight-agent-skills · portable capability layer
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": "cosmos/apod-to-short",
3+
"name": "apod-to-short",
4+
"version": "0.1.0",
5+
"domain": "cosmos",
6+
"summary": "NASA Astronomy Picture of the Day into a 30–60s vertical short package.",
7+
"inputs": [
8+
{ "name": "apod", "type": "string", "required": true, "description": "APOD URL/date or title+explanation+credit." },
9+
{ "name": "length", "type": "number", "required": false, "description": "Target seconds, default 45." },
10+
{ "name": "voice", "type": "string", "required": false, "description": "starlight | arcanea | frankx." }
11+
],
12+
"outputs": [
13+
{ "name": "title", "type": "string" },
14+
{ "name": "hook", "type": "string" },
15+
{ "name": "script", "type": "string" },
16+
{ "name": "captions", "type": "array" },
17+
{ "name": "shot_list", "type": "array" },
18+
{ "name": "rights_line", "type": "string" },
19+
{ "name": "duration_sec", "type": "number" }
20+
],
21+
"tools": ["WebFetch", "Read"],
22+
"mcp_dependencies": [],
23+
"runtimes": ["claude", "codex", "cursor", "gemini", "opencode", "sis"],
24+
"tags": ["nasa", "apod", "video", "short", "social"],
25+
"attestation": "Built on SIP — starlightintelligence.org/protocol v1.1.0"
26+
}

0 commit comments

Comments
 (0)