# Abstract Structure

> Remove domain surface details to expose transferable relational/mechanistic structure at a chosen abstraction level.

- Skill: `yogsoth-ai/abstract-structure` (Agent Skill)
- Install (CLI): `npx get-skill add yogsoth-ai/abstract-structure`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yogsoth-ai/abstract-structure/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: yogsoth-ai (https://skillmd.com/u/yogsoth-ai)
- Updated: 2026-11-12
- Page: https://skillmd.com/skills/yogsoth-ai/abstract-structure

---


# abstract-structure
## Purpose
Strip domain surface detail and retain transferable relations or mechanisms at a declared abstraction level.
## Input contract
```yaml
required: [source_case, abstraction_level]
optional: [relation_schema, invariants]
constraints: [preserve causal or functional roles while removing incidental labels]
```
## Procedure
1. List entities, actions, constraints, and outcomes in the source case.
2. Replace domain labels with role and relation types at the requested level.
3. Record invariants and details intentionally discarded.
## Output contract
```yaml
produces: [abstract_structure, retained_invariants, discarded_details]
delta_fields: [findings, hypothesis_updates, uncertainties]
```
## Quality gates
- The abstraction level is named; every retained relation has source support; no causal relation is introduced by analogy.
## Failure and counterexamples
Return an abstraction gap when role mapping is ambiguous or when removing a detail changes the mechanism.
## Provenance map
- `creative-ideation/abstraction-extraction`: resolved.
- `creative-ideation/abstraction-ladder`: resolved.
- `creative-ideation/generic-space-extraction`: resolved.

