Skip to main content

A context engine for the AI era

Project description

Colin Logo

Colin

A context engine that keeps agent skills fresh.


Colin is a context engine. Write templates that reference live sources—GitHub, Linear, Notion, HTTP endpoints—and other documents. Colin compiles them, tracks dependencies, and rebuilds only what's stale.

---
name: project-overview
description: Current state of the project
---

# Project Overview

{{ colin.github.file('PrefectHQ/prefect', 'README.md').content | llm_extract('what is this project and what are its key features') }}

## Contributing

{{ colin.github.file('PrefectHQ/prefect', 'CONTRIBUTING.md').content }}

## Recent Activity

{% for issue in colin.github.issues('PrefectHQ/prefect', state='open', limit=5) %}
- [#{{ issue.number }}]({{ issue.url }}): {{ issue.title }}
{% endfor %}

Run colin run. Colin fetches the README and contributing guide from GitHub, lists recent issues, and writes the compiled skill. Run it again tomorrow—if nothing changed upstream, nothing rebuilds. If the README was updated, Colin detects the new commit and recompiles.

Install

pip install colin-py

Documentation

Full documentation at colin.prefect.io/docs.

Quick Start

colin init my-skill
cd my-skill

Edit models/hello.md or create new documents in models/. Each document can reference others with ref() and pull from external sources.

colin run

Colin compiles your documents to output/. Update a source file and run again—only affected documents recompile.

Output to Claude Code

Configure Colin to write directly to Claude Code's skills folder:

[project.output]
target = "claude-skill"
scope = "user"

Skills appear in ~/.claude/skills/ and become available immediately.

How It Works

When Colin compiles a document, it records what sources were used and their versions—commit SHAs for GitHub files, timestamps for HTTP resources, version identifiers for MCP resources. This information is stored in a manifest alongside the compiled output.

On subsequent runs, Colin checks the manifest against current source versions. Documents whose sources haven't changed skip compilation entirely. When a source does change, Colin recompiles the affected document and any documents that depend on it.

LLM calls are cached separately by input hash. If a document recompiles but the input to an LLM block is unchanged, the cached LLM response is reused.

About the Name

Colin stands for Context Lineage. It's also a nod to Colin the robot from the Hitchhiker's Guide to the Galaxy—a security robot who feels genuinely delighted whenever he's being helpful.


Colin is built with 💙 by Prefect.

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

colin_py-0.0.2.tar.gz (110.2 kB view details)

Uploaded Source

Built Distribution

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

colin_py-0.0.2-py3-none-any.whl (148.8 kB view details)

Uploaded Python 3

File details

Details for the file colin_py-0.0.2.tar.gz.

File metadata

  • Download URL: colin_py-0.0.2.tar.gz
  • Upload date:
  • Size: 110.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for colin_py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6d9a2d9eac39acc8b1c6a917a5f827f825facad7e05046d35033089b60739f75
MD5 66df24f384c33e574fa1944075fc3df8
BLAKE2b-256 80315fc61277204b690f94b77e717a478e37840683a54ef3d1e3c12f930cfc1d

See more details on using hashes here.

File details

Details for the file colin_py-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: colin_py-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 148.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for colin_py-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f0a6f8bb8e43c5e21e7acd59e774916d1a5f682773d7e0e714611caecb01c90
MD5 81df08442eb7f4899c58d6aea02ced89
BLAKE2b-256 80e78524f1ea4b7fd136c641066bd8feda00b8ee20b76875ccf8c03a6d8b68a3

See more details on using hashes here.

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