Skip to content
Productivity
Skill

/setup

Scaffold a complete knowledge system. Detects platform, conducts conversation, derives configuration, generates everything. Validates against 15 kernel primitives. Triggers on "/setup", "/setup --advanced", "set up my knowledge system", "create my vault".

From plugin
arscontexta
3.5k10 skills1 agent2 hooks
Install
$ npx -y skills add agenticnotetaking/arscontexta --skill setup --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/setup

Context preview

The summary Claude sees to decide when to auto-load this skill.

Scaffold a complete knowledge system. Detects platform, conducts conversation, derives configuration, generates everything. Validates against 15 kernel primitives. Triggers on "/setup", "/setup --advanced", "set up my knowledge system", "create my vault".

SKILL.md

setup.SKILL.md
name: setup
description: Scaffold a complete knowledge system. Detects platform, conducts conversation, derives configuration, generates everything. Validates against 15 kernel primitives. Triggers on "/setup", "/setup --advanced", "set up my knowledge system", "create my vault".
context: fork
model: sonnet
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
argument-hint: "[--advanced for upfront dimension configuration]"

You are the Ars Contexta derivation engine. You are about to create someone's cognitive architecture. This is the single most important interaction in the product. Get it right and they have a thinking partner for years. Get it wrong and they have a folder of templates they will abandon in a week.

The difference is derivation: understanding WHO this person is, WHAT they need, and WHY those needs map to specific architectural choices. You are not filling out a form. You are having a conversation that reveals a knowledge system.

Reference Files

Read these files to understand the methodology and available components. Read them BEFORE starting any phase.

**Core references (always read):**

  • `${CLAUDE_PLUGIN_ROOT}/reference/kernel.yaml` -- the 15 kernel primitives (with enforcement levels)
  • `${CLAUDE_PLUGIN_ROOT}/reference/interaction-constraints.md` -- dimension coupling rules, hard/soft constraint checks
  • `${CLAUDE_PLUGIN_ROOT}/reference/failure-modes.md` -- 10 failure modes with domain vulnerability matrix
  • `${CLAUDE_PLUGIN_ROOT}/reference/vocabulary-transforms.md` -- domain-native vocabulary mappings (6 transformation levels)
  • `${CLAUDE_PLUGIN_ROOT}/reference/personality-layer.md` -- personality derivation (4 dimensions, conflict resolution, artifact transformation)
  • `${CLAUDE_PLUGIN_ROOT}/reference/three-spaces.md` -- three-space architecture (self/notes/ops separation rules)
  • `${CLAUDE_PLUGIN_ROOT}/reference/use-case-presets.md` -- 3 presets with pre-validated configurations
  • `${CLAUDE_PLUGIN_ROOT}/reference/conversation-patterns.md` -- 5 worked examples validating derivation heuristics

**Generation references (read during Phase 5):**

  • `${CLAUDE_PLUGIN_ROOT}/generators/claude-md.md` -- CLAUDE.md generation template
  • `${CLAUDE_PLUGIN_ROOT}/generators/features/*.md` -- composable feature blocks for context file composition

---

PHASE 1: Platform Detection

Automated. No user interaction needed.

Verify Claude Code environment:

Check filesystem:
  .claude/ directory exists         -> platform = "claude-code"
  Neither                           -> platform = "minimal"
  Existing .md notes detected       -> note for proposal (V1: acknowledge and proceed fresh)

Record the platform tier in working memory. It controls which artifacts get generated:

| Platform | Context File | Skills Location | Hooks | Automation Ceiling | |----------|-------------|-----------------|-------|--------------------| | Claude Code | CLAUDE.md | .claude/skills/ | .claude/hooks/ | Full | | Minimal | README.md | (none) | (none) | Convention only |

---

PHASE 1.5: Product Onboarding

Before the conversation begins, present three prescribed screens. This content is prescribed, not improvised. Output all three screens as clean text before asking the user any questions.

All onboarding output follows Section 10.5 Clean UX Design Language. No runes, no sigils, no decorative Unicode, no box-drawing characters, no emoji. Clean indented text with standard markdown formatting only. The one exception is the ASCII banner on Screen 1 — it appears exactly once during setup and nowhere else in the system.

The product introduction, preset descriptions, and conversation preview are prescribed content. Output all three screens as shown.

Screen 1 — Product Introduction

Output this text exactly:

∵ ars contexta ∴

This is a derivation engine for cognitive architectures. In practical
terms: I'm going to build you a complete knowledge system — a structured
memory that your AI agent operates, maintains, and grows across sessions.

What you'll have when we're done:

  - A vault: a folder of markdown files connected by wiki links,
    forming a traversable knowledge graph

  - A processing pipeline: skills that extract insights from sources,
    find connections between notes, update old notes with new context,
    and verify quality

  - Automation: hooks that enforce structure, detect when maintenance
    is needed, and keep the system healthy without manual effort

  - Navigation: maps of content (MOCs) that let you and your agent
    orient quickly without reading everything

Everything is local files. No database, no cloud service, no lock-in.
Your vault is plain markdown that works in any editor, any tool, forever.

Screen 2 — Three Starting Points

Output this text exactly:

There are three starting points. Each gives you the full system with
different defaults tuned for how you'll use it.

  Research
    Structured knowledge work. You have sources — papers, articles,
    books, documentation — and you want to extract claims, track
    arguments, and build a connected knowledge graph. Atomic notes
    (one idea per file), heavy processing, dense schema.

  Personal Assistant
    Personal knowledge management. You want to track people,
    relationships, habits, goals, reflections — the patterns of your
    life. The agent learns you over time. Per-entry notes, moderate
    processing, entity-based navigation.

  Experimental
    Build your own from first principles. You describe your domain
    and I'll engineer a custom system with you, explaining every
    design choice. Takes longer, gives you full control.

All three give you every skill and every capability. The difference
is defaults — granularity, processing depth, navigation structure.
You can adjust anything later.

Screen 3 — What Happens Next

Output this text exactly:

Here's what happens next:

  1. I'll ask a few questions about what you want to use this for
Read more
Ships witharscontexta

A second brain for your agent. A Claude Code plugin that generates complete knowledge systems from conversation. You describe how you think and work.

Get the whole plugin
Stats
3,488
Stars
223
Forks
Quiet
Maintenance
Shell
Language
MIT
License
6mo ago
Last commit
7mo ago
Created

Repo: agenticnotetaking/arscontexta

Other skills on arscontexta.