Skip to main content

Persistent context for AI coding assistants. Install it, run it, your agent remembers you.

Project description

Skopus

Persistent context for AI coding assistants. Install it, run it, your agent remembers you.

σκοπός (skopos) — Greek for watcher, purpose. A system that gives agents durable scope across sessions.

The problem

Every AI coding assistant forgets you at the end of every session. You teach it your preferences, it forgets. You correct it, it repeats the mistake next week.

The fix

pip install skopus        # or: pipx install skopus
skopus init               # answer 9 questions, everything set up

That's it. Next time you open your AI assistant, it already knows:

  • How you work (your non-negotiables, communication style, anti-patterns to avoid)
  • What you've corrected (mistakes it won't repeat)
  • What you've decided (a knowledge base that grows over time)
  • What your code looks like (automatic codebase map via graphify)

Works with Claude Code, Cursor, Codex, Aider, Gemini CLI, and Copilot CLI.

How it works

Skopus writes one file into your project (CLAUDE.md / AGENTS.md / .cursor/rules/) that teaches the AI assistant who you are. The assistant reads it automatically at session start. No re-teaching.

Everything lives in one directory: ~/.skopus/

~/.skopus/
├── charter/     Your rules, non-negotiables, working style
├── memory/      Corrections and wins that compound over time
└── vault/       Your knowledge base (decisions, learnings, sources)

Commands

Setup (run once):

skopus init              # wizard + scaffold + wire current project
skopus link              # wire a different project (if not done during init)

Daily use (inside your AI assistant):

Command What it does
/charter-evolve End of session: captures corrections and wins automatically
/compile Captures knowledge from the session into your vault
/graphify . Builds a map of your codebase (first time only)
/query <question> Asks your knowledge base a question
/ingest <url> Saves an article/doc into your knowledge base

Maintenance:

skopus update            # upgrade + re-install everything
skopus doctor            # health check

Benchmarks

Skopus ships with a benchmark suite that measures whether it actually works. The novel Correction-Persistence benchmark tests: does the agent apply yesterday's corrections to today's tasks?

skopus bench run cp --ablation    # run across 5 lens configurations
skopus bench list                 # see all available benchmarks

Contributing

  • New platform adapters: one Python file implementing a 5-method ABC. See skopus/adapters/claude_code.py.
  • Benchmark scenarios: real corrections from real sessions. Run /bench-contribute inside Claude Code to generate anonymized scenarios from your feedback.
  • Bug reports: github.com/cvalentinhorizontes/skopus/issues

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skopus-0.5.0.tar.gz (146.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skopus-0.5.0-py3-none-any.whl (121.3 kB view details)

Uploaded Python 3

File details

Details for the file skopus-0.5.0.tar.gz.

File metadata

  • Download URL: skopus-0.5.0.tar.gz
  • Upload date:
  • Size: 146.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skopus-0.5.0.tar.gz
Algorithm Hash digest
SHA256 59ed1e5dce456323a90461b838d407527dcf25ce8aa6d00e6962bce8c9b86612
MD5 b44b3891c24eae4cf1b71cefc2d8a65a
BLAKE2b-256 143f5bdc06a246a33aa4b1d567306b65e09110d5a5774d7c391f9bc01b8c4e5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for skopus-0.5.0.tar.gz:

Publisher: release.yml on elbalen/skopus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skopus-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: skopus-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 121.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skopus-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fe70100bcff8b64e6d121d135a59d09509ca643fc7753ec364f931604af38aaf
MD5 b509644e86e39b2b62cd3f37127a4a4c
BLAKE2b-256 082e9f6bba9711c15979d5b97aa433bfbe44a3cc5258c39bbfbd9556359aa053

See more details on using hashes here.

Provenance

The following attestation bundles were made for skopus-0.5.0-py3-none-any.whl:

Publisher: release.yml on elbalen/skopus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page