Claude Skill

artifact-pyramids

Organize durable agent research outputs as summaries, analysis, and evidence dossiers. Use when producing multi-layer research artifacts or coordinating research handoffs. Do not use this skill for unrelated requests; route to the nearest named specialist.

LLM Mart · 0 points · 14 views 0 listing impressions 0 install-command copies
Download magnus919-agent-skills-artifact-pyramids-addad86.zip · 42 KB

Install

skills CLI npx skills add https://github.com/magnus919/agent-skills/tree/main/artifact-pyramids
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install magnus919-agent-skills@llmmart
Git git clone https://github.com/magnus919/agent-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole magnus919/agent-skills collection as a plugin from our marketplace. Git is the plain clone.

README

Artifact Pyramids

Structure durable research work so people and agents can start with conclusions, then inspect the analysis and underlying evidence only when needed.

Why Install This Skill

Structure durable research work so people and agents can start with conclusions, then inspect the analysis and underlying evidence only when needed. It preserves a practical method, local reference material, and reusable templates so an agent can do more than produce a generic answer.

Use it when the work needs a repeatable process and an inspectable result. It is portable across Agent Skills-compatible clients and does not require a profile system or a particular task orchestrator.

What You Get

Path What it provides
SKILL.md Trigger conditions, workflow, and guidance for loading deeper resources.
references/ Reference material: artifact-pyramid-framework.md, canonical-article.md, composite-pyramid-synthesis.md, delegation-context-template.md, flat-to-pyramid-migration.md, intellectual-lineage.md, methodology-to-pyramid-mapping.md, nested-pyramid-pattern.md, output-classification-framework.md, pipeline-stages.md, provenance-artifacts.md, quality-gates.md, synthetic-example.md
assets/ Assets: artifact-inventory.md, pyramid-template.md
scripts/ Scripts: extract-atoms.py, pyramid-status.sh

Quick Start

Copy assets/pyramid-template.md into a new research directory, then follow the layer and navigation rules in SKILL.md.

Install or expose this directory using your agent's standard Agent Skills loading mechanism, then ask for work that matches the triggers below.

Triggers

  • Organize durable agent research outputs as summaries, analysis, and evidence dossiers. Use when producing multi-layer research artifacts or coordinating research handoffs.
  • Requests involving the method, deliverables, or review process described in SKILL.md.
  • Work where a reusable template or reference from this skill would reduce avoidable mistakes.

Requirements

Python 3.9+ and a POSIX shell are required only for the bundled scripts.

Source and maintenance

This skill was extracted from magnus919/hermes-profiles at commit 867a555. The portable methodology was retained; Hermes-specific profile, orchestration, and memory assumptions were removed.

Skill manifest

Artifact Pyramids for Agentic AI Research

Progressive disclosure governs how we feed agents context: metadata at startup, instructions on activation, resources on demand. The Artifact Pyramid applies the same principle to what agents produce. Three layers of increasing depth, each independently consumable, each linking down to the next.

Loading Guidance

When producing an artifact pyramid, load these references as a required set (not piecemeal):

Reference File
Pipeline Stages — layer definitions, navigation format, production flow references/pipeline-stages.md
Output Classification Framework — role-agnostic content contracts, 00-index/L1 boundary references/output-classification-framework.md
Quality Gates — verification checklists per layer references/quality-gates.md
Delegation Context Template — exact text for subagent output mandates references/delegation-context-template.md

These four define complementary aspects of the spec that the others assume. Loading only a subset risks violating content contracts (e.g., putting findings in 00-index) or skipping required navigation affordances. Load the full set before writing any pyramid files.

The reference table below describes when to load each file; the four above are always required for pyramid production. The remaining references (framework, worked example, canonical article, intellectual lineage, provenance, composite synthesis) are supplementary — load when the task calls for conceptual depth or a worked pattern.

The Pyramid

      ┌──────────────┐
      │  L1 SUMMARY  │  One file: research question, key findings,
      │    🎯        │  most important implications. Links to L2 files.
      └──────┬───────┘
      ┌──────┴───────┐
      │  L2 ANALYSIS │  Per-dimension files: market, competitive,
      │  COLLECTION  │  technical feasibility, risk. Self-contained,
      │   🧩        │  each links to L3 dossiers.
      └──────┬───────┘
      ┌──────┴───────┐
      │  L3 DOSSIERS │  Source excerpts, raw data tables, interview
      │    📦        │  transcripts, methodology notes. Reference
      └──────────────┘  library, pulled on demand.

The pyramid is consumed top-down but produced via recursive gap analysis: start with the summary, embed links to analysis files, write analysis files that link to dossiers, and evaluate after each round whether gaps remain.

Layer numbering is top-down — L1 is the most distilled layer (the entry point), L3 is the most detailed (pulled on demand). This mirrors the Agent Skills input model: metadata (L1) → instructions (L2) → resources (L3).

The Navigation Mechanism

Every file at every layer carries, at the bottom, an explicit SOURCES section with absolute path references and descriptions:

SOURCES (LAYER 2 NAVIGATION)
research/analysis/market-position.md
 -> Competitor mapping and market share analysis supporting Section 2
research/analysis/technical-feasibility.md
 -> Architecture evaluation supporting Section 3
research/dossiers/competitor-profiles.md
 -> Raw competitor data dossiers

These aren't footnotes. They are navigation affordances for agent consumers. Each description answers the question the consuming agent asks before loading: what will I find if I go deeper?

Reference Files

Reference Load when File
Framework & Symmetry You need the full conceptual foundation — the asymmetry problem, multi-agent routing, DIKW relationship references/artifact-pyramid-framework.md
Pipeline Stages You're building or auditing a pyramid — detailed definitions per layer, navigation format, production flow references/pipeline-stages.md
Quality Gates You need to verify an artifact meets the standard for its layer references/quality-gates.md
Worked Example You want to see a complete synthetic walkthrough of all three layers references/synthetic-example.md
Intellectual Lineage How software architecture documentation (4+1 Views, C4, arc42, ADRs) independently discovered progressive disclosure under different names — and what the Artifact Pyramid generalizes beyond them references/intellectual-lineage.md
Methodology-to-Pyramid Mapping How specialist profiles map domain-specific methodologies into the universal pyramid structure, with dimension boundary rules references/methodology-to-pyramid-mapping.md
Output Classification Framework Role-agnostic — three questions any specialist can ask to map their outputs into the correct layer: who consumes it, how often, what question it answers. Includes per-layer content contracts to eliminate duplication between 00-index and L1 files. references/output-classification-framework.md
Composite Pyramid Synthesis How to merge multiple subagent pyramids into a root-level composite pyramid — orchestrator flow, SOURCES convention, worked example from jobs-finder pipeline references/composite-pyramid-synthesis.md
Delegation Context Template You're delegating research to subagents and need the exact text to include in context strings to ensure artifact-pyramid output references/delegation-context-template.md
Flat-to-Pyramid Migration You're converting existing flat JSON outputs to artifact-pyramid format — the pattern for L1/L2/L3 structure, 00-index rules, and downstream consumer fallback reads references/flat-to-pyramid-migration.md
Nested Pyramid Pattern You're designing a single system that produces multiple artifact streams over time (multi-phase, multi-epoch) — avoid scatter, nest epochs under a single root pyramid references/nested-pyramid-pattern.md

Scripts

Script Load when File
pyramid-status You want to audit an existing research directory for structural coverage scripts/pyramid-status.sh
extract-atoms You have raw source text and need candidate atomic claims scripts/extract-atoms.py

Templates

Template Load when File
Project Scaffold You're starting a new research project and need the index skeleton assets/pyramid-template.md
Artifact Inventory You need to track what exists at each layer across a project assets/artifact-inventory.md

Quick Start

# Scaffold a new research project with all three layer directories
mkdir -p my-project/{01-summary,02-analysis,03-dossiers}
cp assets/pyramid-template.md ./my-project/00-index.md

# Check structural coverage of an existing project
scripts/pyramid-status.sh ./my-project

# Extract candidate atoms from source text
scripts/extract-atoms.py ./my-project/03-dossiers/source-1.txt

Project Structure

my-project/
├── 00-index.md              # Project scaffold (from template)
├── 01-summary/              # L1: one file — key findings, implications, links to L2
├── 02-analysis/             # L2: per-dimension files (market, competitive, technical)
├── 03-dossiers/             # L3: source excerpts, transcripts, raw data, methodology
└── artifact-inventory.md    # Cross-layer tracking (from template)

The numbered prefixes mirror the pyramid's top-to-bottom orientation: 01 is most consumed, 03 is pulled on demand.

Key Principles

  1. Progressive disclosure is symmetric. The same three-tier model governs what agents consume (metadata → instructions → resources) and what they produce (summary → analysis → dossiers).
  2. Each layer is independently consumable. A product-manager agent reads only the L1 summary. A data-scientist agent reads a single L2 analysis file. A verifier reads L3 dossiers.
  3. Navigation is explicit. Every file carries a SOURCES section with absolute paths and descriptions — not footnotes, but agent navigation affordances answering what will I find if I go deeper?
  4. Depth varies by mission complexity. A simple brief may produce only L1 + 2 analysis files. A competitive landscape may need all three layers with multiple files per layer.
  5. Quality gates are directional. Material moves from L3 (sources) toward L1 (summary) only when it meets the gate for the target layer.
  6. 03-dossiers/ is flat — no subdirectories. The dossier layer is a flat reference library. Organize with epoch-prefixed or category-prefixed filenames (epoch-1-validation-edit-3.json), not nested directories. Subdirectories inside 03-dossiers/ violate the flat-file contract and break the SOURCES navigation path.
  7. Root-level files are amended; lower-level files are fixed. In multi-epoch or multi-phase systems, 00-index.md, 01-summary/findings.md, and 02-analysis/ trajectory files grow as new data arrives. They are rewritten to reflect the current state. Files in 03-dossiers/ and per-category analysis files below 02-analysis/ are created once and never modified — they represent a fixed point in time.

Validation Script Pitfall

scripts/pyramid-status.sh currently discovers layers by matching file names, not canonical directory names. A compliant tree such as 01-summary/findings.md, 02-analysis/topic.md, and 03-dossiers/source.md can therefore be falsely reported as missing L1/L2 when the nested file names do not themselves match the script's layer patterns. It also reports missing YAML frontmatter as a quality issue even though frontmatter is not required by the layer contracts above. Treat this script as a heuristic only; verify canonical directories, one L1 file, per-dimension L2 files, flat L3 files, final ## SOURCES sections, and link resolution independently.

When NOT to use

  • Single-turn Q&A with no research artifacts to preserve
  • Tasks producing only ephemeral output (one-off calculations, quick lookups)
  • Workflows where the source material IS the final output (no synthesis needed)

Portability

This skill is intentionally host-neutral. Use your agent's normal mechanisms to load the references, templates, and scripts listed here. Do not assume a particular profile system, task orchestrator, memory service, or response-handoff format.

Files (agent-skills)
  • assets
    • artifact-inventory.md 919 B
      Loading…
    • pyramid-template.md 968 B
      Loading…
  • evals
    • evals.json 7.7 KB
      Loading…
  • references
    • artifact-pyramid-framework.md 3.4 KB
      Loading…
    • canonical-article.md 1.3 KB
      Loading…
    • composite-pyramid-synthesis.md 3.5 KB
      Loading…
    • delegation-context-template.md 3 KB
      Loading…
    • flat-to-pyramid-migration.md 3.1 KB
      Loading…
    • intellectual-lineage.md 5 KB
      Loading…
    • methodology-to-pyramid-mapping.md 3.3 KB
      Loading…
    • nested-pyramid-pattern.md 6.2 KB
      Loading…
    • output-classification-framework.md 9.3 KB
      Loading…
    • pipeline-stages.md 6.6 KB
      Loading…
    • provenance-artifacts.md 3.3 KB
      Loading…
    • quality-gates.md 4.4 KB
      Loading…
    • source-index.md 371 B
      Loading…
    • synthetic-example.md 6.8 KB
      Loading…
  • scripts
    • extract-atoms.py 8.3 KB
      Loading…
    • pyramid-status.sh 7.2 KB
      Loading…
  • LICENSE 1 KB · in bundle
  • README.md 2.4 KB
    # Artifact Pyramids
    
    Structure durable research work so people and agents can start with conclusions, then inspect the analysis and underlying evidence only when needed.
    
    ## Why Install This Skill
    
    Structure durable research work so people and agents can start with conclusions, then inspect the analysis and underlying evidence only when needed. It preserves a practical method, local reference material, and reusable templates so an agent can do more than produce a generic answer.
    
    Use it when the work needs a repeatable process and an inspectable result. It is portable across Agent Skills-compatible clients and does not require a profile system or a particular task orchestrator.
    
    ## What You Get
    
    | Path | What it provides |
    |---|---|
    | `SKILL.md` | Trigger conditions, workflow, and guidance for loading deeper resources. |
    | `references/` | Reference material: `artifact-pyramid-framework.md`, `canonical-article.md`, `composite-pyramid-synthesis.md`, `delegation-context-template.md`, `flat-to-pyramid-migration.md`, `intellectual-lineage.md`, `methodology-to-pyramid-mapping.md`, `nested-pyramid-pattern.md`, `output-classification-framework.md`, `pipeline-stages.md`, `provenance-artifacts.md`, `quality-gates.md`, `synthetic-example.md` |
    | `assets/` | Assets: `artifact-inventory.md`, `pyramid-template.md` |
    | `scripts/` | Scripts: `extract-atoms.py`, `pyramid-status.sh` |
    
    ## Quick Start
    
    Copy `assets/pyramid-template.md` into a new research directory, then follow the layer and navigation rules in `SKILL.md`.
    
    Install or expose this directory using your agent's standard Agent Skills loading mechanism, then ask for work that matches the triggers below.
    
    ## Triggers
    
    - Organize durable agent research outputs as summaries, analysis, and evidence dossiers. Use when producing multi-layer research artifacts or coordinating research handoffs.
    - Requests involving the method, deliverables, or review process described in `SKILL.md`.
    - Work where a reusable template or reference from this skill would reduce avoidable mistakes.
    
    ## Requirements
    
    Python 3.9+ and a POSIX shell are required only for the bundled scripts.
    
    ## Source and maintenance
    
    This skill was extracted from [`magnus919/hermes-profiles`](https://github.com/magnus919/hermes-profiles) at commit [`867a555`](https://github.com/magnus919/hermes-profiles/commit/867a555). The portable methodology was retained; Hermes-specific profile, orchestration, and memory assumptions were removed.
    
  • SKILL.md 10.7 KB
    ---
    name: artifact-pyramids
    description: >-
      Organize durable agent research outputs as summaries, analysis, and evidence dossiers.
      Use when producing multi-layer research artifacts or coordinating research handoffs. Do
      not use this skill for unrelated requests; route to the nearest named specialist.
    license: MIT
    compatibility: Python 3.9+ and a POSIX shell are required only for the bundled scripts.
    metadata:
      source_repo: https://github.com/magnus919/hermes-profiles
      source_commit: 867a555
    ---
    
    
    # Artifact Pyramids for Agentic AI Research
    
    Progressive disclosure governs how we feed agents context: metadata at startup, instructions on activation, resources on demand. **The Artifact Pyramid applies the same principle to what agents produce.** Three layers of increasing depth, each independently consumable, each linking down to the next.
    
    ## Loading Guidance
    
    **When producing an artifact pyramid, load these references as a required set (not piecemeal):**
    
    | Reference | File |
    |-----------|------|
    | Pipeline Stages — layer definitions, navigation format, production flow | `references/pipeline-stages.md` |
    | Output Classification Framework — role-agnostic content contracts, 00-index/L1 boundary | `references/output-classification-framework.md` |
    | Quality Gates — verification checklists per layer | `references/quality-gates.md` |
    | Delegation Context Template — exact text for subagent output mandates | `references/delegation-context-template.md` |
    
    These four define complementary aspects of the spec that the others assume. Loading only a subset risks violating content contracts (e.g., putting findings in 00-index) or skipping required navigation affordances. Load the full set before writing any pyramid files.
    
    The reference table below describes *when* to load each file; the four above are **always required** for pyramid production. The remaining references (framework, worked example, canonical article, intellectual lineage, provenance, composite synthesis) are supplementary — load when the task calls for conceptual depth or a worked pattern.
    
    ## The Pyramid
    
    ```
          ┌──────────────┐
          │  L1 SUMMARY  │  One file: research question, key findings,
          │    🎯        │  most important implications. Links to L2 files.
          └──────┬───────┘
          ┌──────┴───────┐
          │  L2 ANALYSIS │  Per-dimension files: market, competitive,
          │  COLLECTION  │  technical feasibility, risk. Self-contained,
          │   🧩        │  each links to L3 dossiers.
          └──────┬───────┘
          ┌──────┴───────┐
          │  L3 DOSSIERS │  Source excerpts, raw data tables, interview
          │    📦        │  transcripts, methodology notes. Reference
          └──────────────┘  library, pulled on demand.
    ```
    
    The pyramid is consumed top-down but produced via recursive gap analysis: start with the summary, embed links to analysis files, write analysis files that link to dossiers, and evaluate after each round whether gaps remain.
    
    **Layer numbering is top-down** — L1 is the most distilled layer (the entry point), L3 is the most detailed (pulled on demand). This mirrors the Agent Skills input model: metadata (L1) → instructions (L2) → resources (L3).
    
    ## The Navigation Mechanism
    
    Every file at every layer carries, at the bottom, an explicit `SOURCES` section with absolute path references and descriptions:
    
    ```
    SOURCES (LAYER 2 NAVIGATION)
    research/analysis/market-position.md
     -> Competitor mapping and market share analysis supporting Section 2
    research/analysis/technical-feasibility.md
     -> Architecture evaluation supporting Section 3
    research/dossiers/competitor-profiles.md
     -> Raw competitor data dossiers
    ```
    
    These aren't footnotes. They are **navigation affordances** for agent consumers. Each description answers the question the consuming agent asks before loading: *what will I find if I go deeper?*
    
    ## Reference Files
    
    | Reference | Load when | File |
    |-----------|-----------|------|
    | Framework & Symmetry | You need the full conceptual foundation — the asymmetry problem, multi-agent routing, DIKW relationship | `references/artifact-pyramid-framework.md` |
    | Pipeline Stages | You're building or auditing a pyramid — detailed definitions per layer, navigation format, production flow | `references/pipeline-stages.md` |
    | Quality Gates | You need to verify an artifact meets the standard for its layer | `references/quality-gates.md` |
    | Worked Example | You want to see a complete synthetic walkthrough of all three layers | `references/synthetic-example.md` |
    | Intellectual Lineage | How software architecture documentation (4+1 Views, C4, arc42, ADRs) independently discovered progressive disclosure under different names — and what the Artifact Pyramid generalizes beyond them | `references/intellectual-lineage.md` |
    | Methodology-to-Pyramid Mapping | How specialist profiles map domain-specific methodologies into the universal pyramid structure, with dimension boundary rules | `references/methodology-to-pyramid-mapping.md` |
    | Output Classification Framework | **Role-agnostic** — three questions any specialist can ask to map their outputs into the correct layer: who consumes it, how often, what question it answers. Includes per-layer content contracts to eliminate duplication between 00-index and L1 files. | `references/output-classification-framework.md` |
    | Composite Pyramid Synthesis | How to merge multiple subagent pyramids into a root-level composite pyramid — orchestrator flow, SOURCES convention, worked example from jobs-finder pipeline | `references/composite-pyramid-synthesis.md` |
    | Delegation Context Template | You're delegating research to subagents and need the exact text to include in context strings to ensure artifact-pyramid output | `references/delegation-context-template.md` |
    | Flat-to-Pyramid Migration | You're converting existing flat JSON outputs to artifact-pyramid format — the pattern for L1/L2/L3 structure, 00-index rules, and downstream consumer fallback reads | `references/flat-to-pyramid-migration.md` |
    | Nested Pyramid Pattern | You're designing a single system that produces multiple artifact streams over time (multi-phase, multi-epoch) — avoid scatter, nest epochs under a single root pyramid | `references/nested-pyramid-pattern.md` |
    
    ## Scripts
    
    | Script | Load when | File |
    |--------|-----------|------|
    | pyramid-status | You want to audit an existing research directory for structural coverage | `scripts/pyramid-status.sh` |
    | extract-atoms | You have raw source text and need candidate atomic claims | `scripts/extract-atoms.py` |
    
    ## Templates
    
    | Template | Load when | File |
    |----------|-----------|------|
    | Project Scaffold | You're starting a new research project and need the index skeleton | `assets/pyramid-template.md` |
    | Artifact Inventory | You need to track what exists at each layer across a project | `assets/artifact-inventory.md` |
    
    ## Quick Start
    
    ```bash
    # Scaffold a new research project with all three layer directories
    mkdir -p my-project/{01-summary,02-analysis,03-dossiers}
    cp assets/pyramid-template.md ./my-project/00-index.md
    
    # Check structural coverage of an existing project
    scripts/pyramid-status.sh ./my-project
    
    # Extract candidate atoms from source text
    scripts/extract-atoms.py ./my-project/03-dossiers/source-1.txt
    ```
    
    ## Project Structure
    
    ```
    my-project/
    ├── 00-index.md              # Project scaffold (from template)
    ├── 01-summary/              # L1: one file — key findings, implications, links to L2
    ├── 02-analysis/             # L2: per-dimension files (market, competitive, technical)
    ├── 03-dossiers/             # L3: source excerpts, transcripts, raw data, methodology
    └── artifact-inventory.md    # Cross-layer tracking (from template)
    ```
    
    The numbered prefixes mirror the pyramid's top-to-bottom orientation: 01 is most consumed, 03 is pulled on demand.
    
    ## Key Principles
    
    1. **Progressive disclosure is symmetric.** The same three-tier model governs what agents consume (metadata → instructions → resources) and what they produce (summary → analysis → dossiers).
    2. **Each layer is independently consumable.** A product-manager agent reads only the L1 summary. A data-scientist agent reads a single L2 analysis file. A verifier reads L3 dossiers.
    3. **Navigation is explicit.** Every file carries a `SOURCES` section with absolute paths and descriptions — not footnotes, but agent navigation affordances answering *what will I find if I go deeper?*
    4. **Depth varies by mission complexity.** A simple brief may produce only L1 + 2 analysis files. A competitive landscape may need all three layers with multiple files per layer.
    5. **Quality gates are directional.** Material moves from L3 (sources) toward L1 (summary) only when it meets the gate for the target layer.
    6. **03-dossiers/ is flat — no subdirectories.** The dossier layer is a flat reference library. Organize with epoch-prefixed or category-prefixed filenames (`epoch-1-validation-edit-3.json`), not nested directories. Subdirectories inside 03-dossiers/ violate the flat-file contract and break the SOURCES navigation path.
    7. **Root-level files are amended; lower-level files are fixed.** In multi-epoch or multi-phase systems, `00-index.md`, `01-summary/findings.md`, and `02-analysis/` trajectory files grow as new data arrives. They are rewritten to reflect the current state. Files in `03-dossiers/` and per-category analysis files below `02-analysis/` are created once and never modified — they represent a fixed point in time.
    
    ## Validation Script Pitfall
    
    `scripts/pyramid-status.sh` currently discovers layers by matching **file names**, not canonical directory names. A compliant tree such as `01-summary/findings.md`, `02-analysis/topic.md`, and `03-dossiers/source.md` can therefore be falsely reported as missing L1/L2 when the nested file names do not themselves match the script's layer patterns. It also reports missing YAML frontmatter as a quality issue even though frontmatter is not required by the layer contracts above. Treat this script as a heuristic only; verify canonical directories, one L1 file, per-dimension L2 files, flat L3 files, final `## SOURCES` sections, and link resolution independently.
    
    ## When NOT to use
    
    - Single-turn Q&A with no research artifacts to preserve
    - Tasks producing only ephemeral output (one-off calculations, quick lookups)
    - Workflows where the source material IS the final output (no synthesis needed)
    
    ## Portability
    
    This skill is intentionally host-neutral. Use your agent's normal mechanisms to load the references, templates, and scripts listed here. Do not assume a particular profile system, task orchestrator, memory service, or response-handoff format.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.