Skip to content
Back to skills

Research Ingest

ASecurity

Archive AI deep-research dumps and articles into RKC source-assets. Hash, copy, write SourceDocument + ResearchTask shells. Optionally run the Phase 2 extractor. Idempotent on bytes plus prompt hash plus extractor version.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentspythongoshell

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add SpillwaveSolutions/research-knowledge-capture --skill research-ingest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Research Ingest?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Research Ingest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spillwavesolutions-research-ingest/badge)](https://www.skillsdirectory.com/skills/spillwavesolutions-research-ingest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: research-ingest
description: Archive AI deep-research dumps and articles into RKC source-assets. Hash, copy, write SourceDocument + ResearchTask shells. Optionally run the Phase 2 extractor. Idempotent on bytes plus prompt hash plus extractor version.
---

# research-ingest

Actor: `grok-bot/research-knowledge-capture`. Isolated session. Ready PR. No force-push. No write to main.

## What this skill does

1. Read files from `_inbox/research-dumps/` (not a type).
2. SHA-256 the bytes. Archive to `knowledge/research/source-assets/<sha256>/original.*`.
3. Write `SourceDocument` + `ResearchTask` shells with `ingested_from`.
4. Same bytes + prompt hash + extractor version → return existing ids (ADR 004).
5. Never auto-supersede `reviewed` | `accepted` | `verified: true`.

## Command

```
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/rkc_ingest.py _inbox/research-dumps \
  --knowledge knowledge --vendor grok --subject <slug> --area <area-slug>
```

`--subject` is the slug. The Subject **title** is slug words, title-cased (`ref-okf-plugin` → `Ref Okf Plugin`), not the first source filename. Pass `--subject-title "OKF plugin"` for an explicit name.

Then extract:

```
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/rkc_ingest.py _inbox/research-dumps \
  --knowledge knowledge --vendor grok --subject <slug> --area <area-slug> --extract --subject-id <id>
```

or `/research-extract` against the archived asset.

`vendor` is free text. Conventional values: `grok` | `gemini` | `claude` | `deepseek` | `chatgpt` | `article` | `perplexity` | `unknown`.

`--source-kind` defaults to `deep_research`. Use `reference_doc`, `published_medium`, `published_substack` when that is what you have.

`--extractor-version` defaults to the current extractor (`2`). `--extract` does not change identity. Same bytes under another version are reported, not duplicated, unless `--allow-reextract`. Prompt hash: `--prompt-hash` or `--prompt-file`.

`--dry-run` prints the plan and writes nothing, including no `research/catalogs/` directory.

Empty, whitespace-only, and frontmatter-only files are skipped (`SKIP empty` on stderr, listed in `--errors-file`). `--min-source-bytes` defaults to 1 and applies to the payload after stripping frontmatter and whitespace. One-line pointer documents are kept.

`index.md` and `README.md` titles use `parent/filename`.

Files over 200 KB skip heuristic extract unless `--force-large`. Progress goes to stderr. Failed files append to `research/catalogs/ingest-errors.jsonl`; the run continues.

Idempotency lookup is `research/catalogs/ingest-index.json`. `--rebuild-index` rebuilds it from sources + tasks.

Do not parallelize writers inside one knowledge tree. Shard by Subject (one tree or one process per slug). If you stop a run, kill workers by PID — `pkill -f` misses multiprocessing children.

Public samples are Northstar / Lumenfield fiction only.

Files in this skill

  • SKILL.md2.8 KB
  • references/inbox.md352 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.