starintel-document-createlisted
Install: claude install-skill lost-rob0t/skills
# Create StarIntel documents
## Goal
Create or update canonical local StarIntel documents and relations through repository-owned tooling against the lock-resolved active StarIntel release.
Requires Python 3.11+, Nim, a current StarIntel Auto-Dig checkout, and the `starintel-spec-version` skill.
## Input
Resolved entities, atomic observations or claims, exact sources, evidence locators, and a target dataset.
## Output
Schema-valid records under `db/<dtype>/<_id>.ndjson` or a validated packet JSONL, plus a green repository gate.
## Workflow
1. Read `AGENTS.md`, then use `starintel-spec-version` to resolve the active `release_version` and immutable `schema_version` from the applicable `schema/starintel-schema.lock.json` or canonical release manifest. Never infer the current release from a `v0.9.0` schema filename.
2. In the canonical Auto-Dig/schema checkout, run `python3 scripts/schema-release.py current` and `python3 scripts/schema-release.py check` before relying on release/profile metadata. The checkout's `starintel_doc/` and generated schema bundle are authoritative for the lock-resolved release.
3. Inspect the executable registry before drafting:
```bash
python3 scripts/starintel.py types
python3 scripts/starintel.py schema --dtype <dtype>
```
4. Search for an existing stable identity before choosing `_id`.
5. Put common metadata in the canonical envelope and dtype-specific values in `data`.
6. Create one normalized record with the transactional writ