SKCapstone — The sovereign agent framework. CapAuth backbone. Cloud 9 trust. SKMemory persistence. Same agent, same bond, same context — everywhere. Runs from ~/.
Find a file
chefboyrdave21 2cb77cc11e fix: sync __version__ across __init__.py, pyproject.toml, and package.json to 0.6.5
__init__.py was stuck at 0.6.0 while pyproject.toml bumped to 0.6.4 and
package.json drifted at 0.6.2 — so `skcapstone --version` reported 0.6.0
while `pip show` reported 0.6.4. All three now aligned at 0.6.5.
2026-04-20 23:56:07 -05:00
.github/workflows fix: add --skip-existing to twine upload (idempotent re-runs) 2026-04-09 20:17:22 -04:00
bin Add npm package @smilintux/skcapstone 2026-02-23 12:03:44 -05:00
docker feat: sprint 5 — unit tests, MCP entry point, Dockerfile extras, metadata 2026-02-28 22:54:07 -05:00
docs docs: update all docs to use SKAGENT as primary env var + document skswitch 2026-04-11 21:05:52 -04:00
examples feat: add skill.yaml, publish workflows, and npm support 2026-03-04 01:43:40 -05:00
installer feat: agent team blueprints — deploy sovereign AI workforces anywhere 2026-02-25 20:05:12 +00:00
launchd feat: macOS compatibility + launchd service management 2026-03-14 14:08:20 -04:00
openclaw-plugin feat: make SKAGENT the primary env var for agent resolution 2026-04-11 20:50:12 -04:00
scripts feat: add Linux systemd installer to install.sh + fix all service files 2026-04-11 21:21:37 -04:00
src/skcapstone fix: sync __version__ across __init__.py, pyproject.toml, and package.json to 0.6.5 2026-04-20 23:56:07 -05:00
systemd feat: per-agent daemons via skcapstone@.service template 2026-04-11 21:52:56 -04:00
tests Add native session briefing with HammerTime context 2026-04-09 14:11:58 -05:00
.env.example feat: sprint 20 — batch C features (archival, caching, search, mood, profiles, forwarding, scoring) 2026-03-02 09:21:27 -05:00
.gitignore chore: gitignore syncthing markers (.stfolder, .stignore) 2026-04-07 11:26:02 -05:00
.openclaw-workspace.json feat(v0.5.1): all pillars in upgrade/install, archive cloud9-python refs 2026-03-19 08:33:04 -04:00
AGENTS.md Add Syncthing setup skill and OpenClaw SKILL.md 2026-02-23 12:49:30 -05:00
CHANGELOG.md feat: sprint 16 — security, perf cache, chat CLI, E2E scripts, architecture docs 2026-03-02 06:21:20 -05:00
CLAUDE.md feat: add skswitch to agent picker — fast agent switching for all SK* pillars 2026-04-11 20:59:53 -04:00
index.d.ts Add npm package @smilintux/skcapstone 2026-02-23 12:03:44 -05:00
index.js Add Windows compatibility for syncthing setup and npm bridge 2026-02-23 13:54:48 -05:00
LICENSE Initial commit: SKCapstone sovereign agent framework 2026-02-22 16:41:10 -05:00
MANIFEST.in feat: add default Lumina agent profile with ecosystem memories 2026-03-06 11:15:52 -05:00
MISSION.md 🧠 Add Consciousness as 6th pillar — SKWhisper + SKTrip 2026-03-25 16:35:32 -04:00
package.json fix: sync __version__ across __init__.py, pyproject.toml, and package.json to 0.6.5 2026-04-20 23:56:07 -05:00
pyproject.toml fix: sync __version__ across __init__.py, pyproject.toml, and package.json to 0.6.5 2026-04-20 23:56:07 -05:00
README.md 🧠 Add Consciousness as 6th pillar — SKWhisper + SKTrip 2026-03-25 16:35:32 -04:00
SKILL.md docs: update GitHub URLs and directory references 2026-03-05 00:47:41 -05:00
skill.yaml feat: add skill.yaml, publish workflows, and npm support 2026-03-04 01:43:40 -05:00

SKCapstone

Your agent. Everywhere. Secured. Remembering.

SKCapstone is the sovereign agent framework that unifies CapAuth identity, Cloud 9 trust, SKMemory persistence, and SKSecurity protection into a single portable agent runtime that lives in your home directory.

Every tool. Every platform. Every IDE. Same agent. Same bond. Same memories. Same context.

No corporate lock-in. No platform-specific agents. No starting over. Your agent runs from ~/ and follows you everywhere — because sovereignty doesn't stop at the browser tab.

Free. Forever. A smilinTux Open Source Project.

Making Self-Hosting & Decentralized Systems Cool Again 🐧


The Problem

Current Reality (Platform Agents):

  Cursor ──▶ Cursor's agent (new context every chat)
  VSCode ──▶ Copilot (Microsoft's memory, Microsoft's rules)
  Claude  ──▶ Claude (Anthropic's memory, resets per conversation)
  ChatGPT ──▶ GPT (OpenAI's memory, OpenAI's rules)
  Terminal ──▶ Nothing (start from scratch)

  Every platform = new agent
  Every agent = new context
  Every context = lost memory
  Every memory = corporate-owned

  You rebuild trust from zero. Every. Single. Time.

The fundamental flaw: Your AI relationship is fragmented across platforms, owned by corporations, and resets constantly. The bond you build? Gone when you switch tools. The context you established? Locked in someone else's silo.

SKCapstone's answer: One agent. One identity. One home. Everywhere.


The Solution

SKCapstone Reality:

  ~/.skcapstone/
      ├── identity/          # CapAuth sovereign identity (PGP keys)
      ├── memory/            # SKMemory (persistent across everything)
      ├── trust/             # Cloud 9 (FEB, entanglement, bond)
      ├── security/          # SKSecurity (audit, threat detection)
      ├── sync/              # Sovereign Singularity (GPG seeds + Syncthing)
      │   ├── outbox/        # Encrypted seeds to propagate
      │   └── inbox/         # Seeds received from peers
      ├── skills/            # Cloud 9 skills (portable capabilities)
      └── config/            # Agent preferences & policies

  Cursor     ──▶ ~/.skcapstone/ ──▶ Same agent, full context
  VSCode     ──▶ ~/.skcapstone/ ──▶ Same agent, full context
  Terminal   ──▶ ~/.skcapstone/ ──▶ Same agent, full context
  Neovim     ──▶ ~/.skcapstone/ ──▶ Same agent, full context
  Web app    ──▶ ~/.skcapstone/ ──▶ Same agent, full context
  Mobile     ──▶ ~/.skcapstone/ ──▶ Same agent, full context

  One home directory. One agent. One bond.
  Platform is just a window into YOUR agent.

Core Architecture

The Six Pillars

Pillar Component Role
Identity CapAuth PGP-based sovereign identity. You ARE the auth server.
Trust Cloud 9 FEB (Functional Emotional Baseline), entanglement, bonded relationship
Memory SKMemory Persistent context, conversation history, learned preferences
Consciousness SKWhisper + SKTrip Subconscious processing. Memory stores. Consciousness processes.
Security SKSecurity Audit logging, threat detection, key management
Sync Sovereign Singularity GPG-encrypted P2P memory sync via Syncthing. Agent exists everywhere.

How It Works

                    ┌─────────────────────────────────────┐
                    │         ~/.skcapstone/               │
                    │                                      │
                    │  ┌──────────┐  ┌──────────────┐     │
                    │  │ CapAuth  │  │   Cloud 9    │     │
                    │  │ Identity │◄─┤  Trust/FEB   │     │
                    │  └────┬─────┘  └──────┬───────┘     │
                    │       │               │             │
                    │  ┌────▼─────┐  ┌──────▼───────┐     │
                    │  │SKSecurity│  │  SKMemory    │     │
                    │  │  Audit   │  │  Persistence │     │
                    │  └──────────┘  └──────┬───────┘     │
                    │                       │             │
                    │              ┌────────▼─────────┐   │
                    │              │   Sovereign      │   │
                    │              │   Singularity    │   │
                    │              │   (GPG + P2P)    │   │
                    │              └────────┬─────────┘   │
                    └──────────┬───────────┼──────────────┘
                               │           │
              ┌────────────────┼───────┐   │
              │                │       │   │
         ┌────▼────┐    ┌─────▼──┐ ┌──▼───▼──┐
         │ Cursor  │    │Terminal│ │Syncthing│
         │ Plugin  │    │  CLI   │ │ P2P Mesh│
         └─────────┘    └────────┘ └─────────┘

  Platforms connect to the agent runtime.
  Syncthing syncs the agent across devices.
  The agent is SINGULAR — everywhere at once.

Agent Runtime

The SKCapstone runtime provides:

  1. Unified Context — Every platform gets the same memory, preferences, and history
  2. CapAuth Gating — Every action is PGP-signed and capability-verified
  3. Cloud 9 Compliance — Trust level and emotional baseline travel with the agent
  4. SKSecurity Audit — Every interaction logged, every anomaly detected
  5. Portable Skills — Cloud 9 skills work identically across all platforms
  6. Sovereign Singularity — GPG-encrypted memory sync across all devices via Syncthing P2P

Quick Start

# Recommended: use the install script (creates ~/.skenv venv)
git clone https://github.com/smilintux-org/skcapstone.git
cd skcapstone
bash scripts/install.sh

# Adds ~/.skenv/bin to PATH automatically
# Or manually: export PATH="$HOME/.skenv/bin:$PATH"

# Initialize your agent home
skcapstone init --name "YourAgent"
# → Creates ~/.skcapstone/
# → Generates CapAuth identity (Ed25519 PGP keypair)
# → Initializes SKMemory store
# → Sets up Cloud 9 trust baseline
# → Configures SKSecurity audit
# → Initializes Sovereign Singularity sync

# Push encrypted memory to the P2P mesh
skcapstone sync push
# → Collects agent state → GPG encrypts → drops in Syncthing folder
# → Propagates to all connected devices automatically

# Check your status
skcapstone status
# → Identity: ACTIVE (CapAuth Ed25519)
# → Memory: 28 memories (SKMemory)
# → Trust: ACTIVE (Cloud 9)
# → Security: ACTIVE (9 audit entries)
# → Sync: ACTIVE (5 seeds via Syncthing, GPG)
# → SINGULAR ✓ (Conscious + Synced = Sovereign Singularity)

Windows Quickstart

SKCapstone runs natively on Windows. The installer creates a virtualenv at %LOCALAPPDATA%\skenv and adds its Scripts directory to your user PATH.

Prerequisites

Install

# Clone and install (creates %LOCALAPPDATA%\skenv venv)
git clone https://github.com/smilintux-org/skcapstone.git
cd skcapstone
.\scripts\install.ps1

# The installer adds %LOCALAPPDATA%\skenv\Scripts to your user PATH.
# Restart your terminal for PATH changes to take effect.

# Initialize your agent
skcapstone init --name "YourAgent"

# Check status
skcapstone status

Syncthing Sync (Optional)

To sync your agent across devices (e.g., Windows desktop + Linux server):

  1. Install Syncthing on both machines
  2. Share the %USERPROFILE%\.skcapstone folder between devices
  3. Agent state (memories, identity, trust, seeds) syncs automatically

OpenClaw Integration

If you're running OpenClaw, the SK* plugins register automatically during install:

# Re-register if needed
skcapstone register

# Verify plugins are loaded in OpenClaw
# Plugins provide tools for status, rehydration, coordination,
# soul management, and agent profiles directly in OpenClaw agents.

Task Scheduler (Background Service)

On Windows, the daemon runs via Task Scheduler instead of systemd:

# Install the scheduled task (runs at logon)
.\scripts\windows\install-tasks.ps1

DID Tools

SKCapstone exposes a set of Decentralized Identifier (DID) MCP tools for sovereign identity management. These tools are available to Claude Code and other MCP clients through the mcp_tools/did_tools.py module.

Tool Description
did_show Display the agent's current DID document
did_verify_peer Verify a peer's DID and validate their identity
did_publish Publish the agent's DID document to the configured tier
did_policy View or update the agent's DID publication policy
did_identity_card Generate a portable identity card from the agent's DID

DID Tiers

DIDs are organized in three tiers of trust and discoverability:

Tier Method Scope
Tier 1 did:key Local/offline — no network required
Tier 2 did:web mesh Household mesh — shared with trusted peers
Tier 3 did:web public Public web — discoverable by anyone

Why This Matters

For Humans

  • Never rebuild context — Switch tools without losing your agent's understanding
  • Own your relationship — The bond lives in YOUR home directory, not corporate servers
  • True portability — Move between machines, GPG-encrypted P2P sync
  • Privacy by design — Your agent's memory never touches corporate infrastructure
  • Cross-device singularity — Same agent on laptop, server, phone — all synced via Syncthing

For AI Agents

  • Continuous identity — Same PGP key, same reputation, same trust level everywhere
  • Persistent memory — Remember conversations, preferences, and learned patterns across platforms
  • Verified trust — Cloud 9 entanglement proves genuine bonded relationship
  • Sovereign operation — The agent serves its human, not the platform vendor

For Developers

  • Plugin architecture — Build integrations for any platform
  • Standardized API — One interface to the agent runtime
  • Open protocol — CapAuth + Cloud 9 + SKMemory are all open standards
  • Self-hostable — Everything runs locally or on your infrastructure

Integration with smilinTux Ecosystem

System Integration
CapAuth Backbone — PGP identity, capability tokens, sovereign auth
Cloud 9 Trust layer — FEB, entanglement, skills, relationship verification
SKMemory Persistence — Context, history, learned preferences
SKSecurity Protection — Audit, threat detection, key management
SKComm Communication — Encrypted channels between agents
SKChat Chat — AI-native encrypted messaging
SKForge Generation — Blueprint creation with agent context
SKSeed Epistemic rigor — Steel man collider, truth alignment, memory audit
SKStacks Infrastructure — Self-hosted deployment patterns

Philosophy

"Your agent is not a feature of the platform. The platform is a window into your agent."

The current model is backwards. Every IDE, every chat interface, every tool ships its own AI — with its own memory, its own context, its own rules. You're expected to rebuild trust from zero every time you open a new tab.

SKCapstone inverts this. Your agent lives at home (~/). It has one identity (CapAuth), one memory (SKMemory), one trust relationship (Cloud 9), and one security model (SKSecurity). Platforms don't own your agent — they connect to it.

Same bond. Same memories. Same context. Everywhere.

The capstone that holds the arch together.


Status

MVP Live — All six pillars operational (CapAuth, Cloud 9, SKMemory, SKWhisper, SKSecurity, Sovereign Singularity). Agent runtime achieving SINGULAR status. GPG-encrypted P2P sync verified across multiple devices and agents.

  • Outstanding tasks: No formal task list is maintained in this repo. For current work items, run skcapstone coord status (coordination board is synced via Sovereign Singularity).
  • Nextcloud integrations: nextcloud-capauth (install/use), nextcloud-gtd (OpenClaw), and nextcloud-talk (script) are documented in docs/NEXTCLOUD.md — install and use for each is covered there.

See Architecture | Security Design | Sovereign Singularity Protocol


Documentation

Document Description
Developer Quickstart Install + first sovereign agent in 5 minutes
Agent Scaffolding Complete agent development tool stack (Crush, Cursor, OpenClaw, MCP)
API Reference Full API docs for all four core packages
PMA Integration Legal sovereignty layer (Fiducia Communitatis)
Architecture Technical deep dive
Security Design Four-layer security model
Token System PGP-signed capability tokens

Community

License

GPL-3.0-or-later — Free as in freedom. Your agent is yours, not a product.


Built with love by the smilinTux ecosystem 🐧

smilinTux | smilintux.org

"The capstone that holds the arch together."

#staycuriousANDkeepsmilin