Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

luna-ingest

БесплатноБез исполняемых скриптовНе проверен

Use when saving GitHub repos or issues, or bitbucket.org repos, issues or PRs, as structured luna notes.

yotamleo-orgот yotamleo-org★ 15 звёзд на GitHub

Об этом скилле

luna-ingest — chain-following triage

Take a github OR bitbucket.org URL, follow its README references one hop (github sources only — see below), classify each, and produce a structured tech-ref note in the luna vault.

Scope: github + bitbucket.org URLs. Twitter (x.com/...) and article URLs raise an explicit "not yet" error.

  • github.com: repo URLs run Phases 1–4; issue URLs (/issues/<n>) take the issue branch; PR (/pull/<n>) and discussion URLs remain out of scope.
  • bitbucket.org: repo, PR (/pull-requests/<n>), and issue (/issues/<n>) URLs take the Bitbucket branch below. They dispatch to the himmel bitbucket CLI (node scripts/bitbucket/dist/index.js …) instead of gh.

Forge routing: the URL host selects the path — parallel to how the dev-loop routes on the git origin. github.com (or bare <owner>/<repo>) → the github Phases below, unchanged. bitbucket.org → the Bitbucket branch. Everything in Phases 1–4 and the issue branch is the github path; the Bitbucket branch reuses the shared Phase 1.5 safety pre-filter and Phase 3/4 heuristics but swaps the fetch transport.

Invocation surfaces:

  • User prompt: /luna-ingest <github-url> [--vault <path>] [--dest <category>] [--limit <N>] [--deep] [--research] [--dry-run] — the skill answers to its own name.
  • Programmatic Skill-tool dispatch (no headless claude): Skill { skill: "obsidian-triage:luna-ingest", args: "<github-url> [<flags...>]" } from inside another runbook (e.g. /harvest-clips github-URL branch).

Both surfaces feed the same argument shape into the runbook below. Wherever this document references $ARGUMENTS, treat it as the literal arg string supplied via either invocation path.

Inputs

$ARGUMENTS is <url> [--vault <path>] [--dest <category>] [--limit <N>] [--dry-run].

Parse:

  • <url> — required. Accepted shapes:
    • https://github.com/<owner>/<repo> (+ /, /tree/<branch>, /blob/<branch>/<path>)
    • https://github.com/<owner>/<repo>/issues/<n> — routes to the github issue branch
    • bare <owner>/<repo> — treated as github
    • https://bitbucket.org/<ws>/<repo> (+ /, /src/<branch>/...) — routes to the Bitbucket branch
    • https://bitbucket.org/<ws>/<repo>/pull-requests/<n> — Bitbucket PR branch
    • https://bitbucket.org/<ws>/<repo>/issues/<n> — Bitbucket issue branch
  • --vault <path> — luna vault root. Default: $HOME/Documents/luna. Refuse with rc=2 if the dir does not exist OR is not an Obsidian vault (no .obsidian/ dir).
  • --dest <category> — vault destination category override. Default: 30-Resources/Tech. Validate against the vault's PARA folders (00-Inbox, 10-Projects/*, 20-Areas/*, 30-Resources/Tech, 30-Resources/Concepts, 30-Resources/Components). Anything else → rc=2.
  • --limit <N> — max 1-hop refs to follow. Default 250 (capture all refs by default — the prior [1,25] clamp left high-fanout awesome-lists partial and silently dropped sources). No upper clamp; reject < 1 with rc=1. 250 is a generous safety ceiling for unattended harvest-clips dispatch (which passes no --limit), not a quality cap — the largest list we have hit is 188 refs. Pass --limit <N> to bound a noisy meta-list downward. The rate-limit contract (api_failure verdict + rc=4 resume) is the backstop if a pathological list exceeds the gh-api hourly budget.
  • --dry-run — print what would be written + verdicts, touch no files. rc=0.
  • --allow-unsafe — opt-in flag to ingest a repo flagged by the safety-keyword pre-filter (Phase 1.5). Without this flag, repos whose name/description/topics match red-flag terms exit rc=6 before fetching the README.
  • --repo <ws/repo> is NOT a luna-ingest flag — it is the bitbucket CLI's own override, set internally by the Bitbucket branch from the parsed URL. Operators pass the bitbucket.org URL, not --repo.
  • --deep — after classification, run the component scan (tools/component-scan.mjs) over the source repo (always) and over each 1-hop ref verdicted integrate or take-parts. Inventories reusable components (skills/commands/agents/tools/plugin manifests) into a ## Reusable components section of the Tech note AND a cross-repo-deduped 30-Resources/Components/ library. Off by default (MVP keeps the light path).
  • --components-dir <rel> — vault-relative Components library root. Default 30-Resources/Components. Only meaningful with --deep.
  • --max-components <N> — per-repo component cap (tail-skip beyond). Default 60.
  • --skill-scan — run SkillSpector over each skill directory in the source repo (Phase 3.7) and store the JSON reports beside the note. Off by default, except for a vendor candidate (the ingest request says the skill is to be vendored), which runs Phase 3.7 as if --skill-scan were passed. A read-through takes SKILLSPECTOR_PROVIDER=ollama: Stage 1 only (static, --no-llm; its one network call checks lockfile dependencies against api.osv.dev for CVEs), advisory
Полный SKILL.md на GitHub

Установить luna-ingest в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл luna-ingest?

Use when saving GitHub repos or issues, or bitbucket.org repos, issues or PRs, as structured luna notes.

Как установить скилл luna-ingest?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл luna-ingest запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить luna-ingest с