Core artifact primitive for the cjhowe-us/artifact Claude Code plugin ecosystem.
Project description
artifact
Core artifact primitive for the cjhowe-us/artifact ecosystem. Ships:
- Scheme kinds —
vertex,edge,metadata. Every scheme declares one. - Core schemes —
artifact-template,pydantic-schema,preferences,conversation,notifications. Plus nine edge-kind schemes (composed_of,depends_on,validates,references,mentions,supersedes,cites,bundled_in,closes) via a shared factory. Plus metadata-kind schemes (authors,tags,status). - Core storages —
file(git worktree),user-config,session-memory,os-notifications. - Generic mediator — validates every subcommand's inputs and outputs via pydantic, dispatches to storages.
- Jinja templating —
.jinja.*file naming convention drives rendering viaartifactlib.render. - Graph — every edge is an artifact;
graph.pyis a thin wrapper overlistwith relation + endpoint filters. /artifactskill — user entry point.
Zero runtime deps besides Python 3.11+, pydantic>=2, tomlkit>=0.13, jinja2>=3.1. Cross-platform.
Source of truth: DESIGN.md.
Install
claude plugin marketplace add cjhowe-us/marketplace
claude plugin install artifact@cjhowe-us-marketplace
Other ecosystem plugins (artifact-github, artifact-documents, workflow) depend on this one.
Layout
artifact/
DESIGN.md
scripts/
artifactlib/ # shared Python package — kinds, scheme loader, storages, graph, mediator
run-provider.py # dispatch CLI
graph.py # graph CLI
hooks/
sessionstart-discover.py
hooks.json
artifact-schemes/ # one dir per scheme: scheme.toml + scheme.py + README.md
artifact-storage/ # one dir per storage: storage.toml + storage.py + README.md
tests/ # pytest
URI format
<scheme>|<storage>/<path>
Examples:
document|file/docs/design/auth— a document vertex stored asdocs/design/auth.md+.content.toml.composed_of|file/<source-slug>--<target-slug>— an edge artifact JSON.preferences|user-config/user— the user's preferences bundle.
Prerequisites
Python 3.11+ with pydantic>=2, tomlkit>=0.13, jinja2>=3.1. git on PATH.
License
Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file artifact_plugin-2.0.1.tar.gz.
File metadata
- Download URL: artifact_plugin-2.0.1.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76baa50ffeba4888b1bce5605d95fe4a1b22e858f9d589dfacf64db7e3fe4765
|
|
| MD5 |
40cde4c5d6b796cc7c8fcbef43a5f071
|
|
| BLAKE2b-256 |
8a91a2c91d2ccd5cf00b3c3c8c392a8a48a767751c0d7afa05e28b537ffe086a
|
File details
Details for the file artifact_plugin-2.0.1-py3-none-any.whl.
File metadata
- Download URL: artifact_plugin-2.0.1-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e50bf18b4b7ead9f4aed31b0225cd9b96cc2e51bab69292121602bcd5aa5f232
|
|
| MD5 |
64ddb746d86cb3372c62252ceaa1011d
|
|
| BLAKE2b-256 |
f9ba3734adce8128c941048247ebf054b11d9b2b1c4f3b0491bc102ae2016855
|