cp-skill-ingest

Solid

Use when asked to ingest a URL or existing kb/sources snapshot into a .ingest.md source analysis.

AI & Automation 81 stars 10 forks Updated today CC-BY-4.0

Install

View on GitHub

Quality Score: 89/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ingest source Ingest one source into a `kb/sources/*.ingest.md` report. The source may be a URL or an existing Markdown snapshot under `kb/sources/`. ## Contract **Target:** `$ARGUMENTS` The direct output is the `.ingest.md` report next to the source snapshot. URL snapshotting and connection discovery may write their own delegated artifacts. Do not directly write any other library artifacts. Interpret "our" through the installed KB's goals and local collection contracts. In this repository, "our" means agent-operated KB methodology. In another installed KB, it means that project's declared system, work, codebase, policy, product, or domain. Read and follow `kb/sources/types/ingest-report.md` before drafting the report. If this skill and the type spec conflict about report content, the type spec wins. ## Steps 1. **Resolve the target.** - If `$ARGUMENTS` is empty, list recent `kb/sources/*.md` files excluding `.json` and `.ingest.md`, then ask which one to ingest. - If the target starts with `http://` or `https://`, invoke `cp-skill-snapshot-web` on the URL. Parse the `Snapshot saved:` line from its output; that path is the source snapshot for the next step. - Otherwise, treat the target as the source snapshot path. 2. **Run connection discovery.** Invoke `cp-skill-connect` on the source snapshot path. Wait for it to finish. For source snapshots, read `kb/reports/connect/sources/<snapshot-name>.connect.md`. 3. **Extract connection c...

Details

Author
zby
Repository
zby/commonplace
Created
4 months ago
Last Updated
today
Language
Python
License
CC-BY-4.0

Similar Skills

Semantically similar based on skill content — not just same category