Skip to content

feat: agent distribution — llms.txt, llms-full.txt, skill installer - #1

Merged
arhangel66 merged 2 commits into
mainfrom
feat/agent-distribution
Apr 24, 2026
Merged

feat: agent distribution — llms.txt, llms-full.txt, skill installer#1
arhangel66 merged 2 commits into
mainfrom
feat/agent-distribution

Conversation

@arhangel66

Copy link
Copy Markdown
Collaborator

Summary

Implements Phase 1 of DAH Agent-First Initial Skill Setup (the lium-skill repo side). After this lands + lium.io redirects, agents will have one-liners for both CLI and skill installation, plus standard llms.txt / llms-full.txt AI-discovery files.

Files

  • llms.txt — short index (~20 lines, per llms.txt standard); points to llms-full.txt, SKILL.md, references, install scripts.
  • llms-full.txt — self-contained reference (~1088 lines) generated by inlining lium/SKILL.md (minus frontmatter & "Detailed References" section) + lium/references/cli-commands.md + lium/references/sdk-reference.md. Single source of truth stays in SKILL.md + references — no manual dupe.
  • scripts/build-llms-full.sh — regenerates llms-full.txt from sources. Run locally or in CI on every push to main.
  • agents/install.sh — skill installer (~90 lines), modeled after basilica's. Flags: --claude-only, --cursor-only, --codex-only (default: all three). Depends only on curl. Installs to ~/.claude/skills/lium/, ~/.cursor/skills/lium/, ~/.codex/skills/lium/.
  • lium/SKILL.md — replaced relative references/*.md links with absolute GitHub raw URLs (works immediately, independent of lium.io redirects). Also fixed the stale http://16.171.54.255/lium/install.shhttps://raw.githubusercontent.com/Datura-ai/lium/main/scripts/install.sh until the lium.io redirect lands.

What's NOT in this PR

  • lium.io redirect rules (/install.sh, /agents/install.sh, /llms.txt, /llms-full.txt → GitHub raw) — belongs to the frontend repo, separate PR.
  • Binary CLI install.sh lives in Datura-ai/lium (already exists), not here.
  • SDK link on lium.io homepage — frontend task.

Post-merge (after lium.io redirects)

Can switch SKILL.md links back to the shorter https://lium.io/... variants.

Test plan

  • bash -n both scripts — syntax OK
  • ./scripts/build-llms-full.sh writes llms-full.txt (1088 lines, correct section boundaries)
  • HOME=<tmp> ./agents/install.sh --claude-only — downloads SKILL.md + both references into $HOME/.claude/skills/lium/ with correct layout
  • After merge, curl -fsSL https://raw.githubusercontent.com/Datura-ai/lium-skill/main/agents/install.sh | bash end-to-end from a clean machine
  • After merge, verify https://raw.githubusercontent.com/Datura-ai/lium-skill/main/llms.txt and .../llms-full.txt are fetchable

@arhangel66

Copy link
Copy Markdown
Collaborator Author

Addressed review in 844c506. Summary of fixes:

@arhangel66
arhangel66 merged commit e582ab8 into main Apr 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant