Skip to main content

Core artifact primitive for the cjhowe-us/artifact-plugin Claude Code plugin ecosystem.

Project description

artifact

Core artifact primitive for the cjhowe-us/artifact-plugin ecosystem. Ships:

  • Scheme kindsvertex, edge, metadata. Every scheme declares one.
  • Core schemesartifact-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 storagesfile (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 via artifactlib.render.
  • Graph — every edge is an artifact; graph.py is a thin wrapper over list with relation + endpoint filters.
  • /artifact skill — 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 as docs/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


Download files

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

Source Distribution

artifact_plugin-2.0.2.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

artifact_plugin-2.0.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file artifact_plugin-2.0.2.tar.gz.

File metadata

  • Download URL: artifact_plugin-2.0.2.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

Hashes for artifact_plugin-2.0.2.tar.gz
Algorithm Hash digest
SHA256 585ac5caa697573fdffd2323a334ee908cf011930295a70c3c2dfdcc346d7fb2
MD5 0f605aeb984c4f3831ee2812950f2ad1
BLAKE2b-256 a9cb50e0584207d420972c28bae19cae14560a9f1ca03ab13f8447196636a985

See more details on using hashes here.

File details

Details for the file artifact_plugin-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: artifact_plugin-2.0.2-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

Hashes for artifact_plugin-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 70af4eeb0dba8d43b8b2c53ccaaab5a93ec94d06345d089cdd7228a34876c791
MD5 5251c33c4785af7d516e13a0344217f3
BLAKE2b-256 e158385c9be88d83aa5e332f679f1bbed086696435ec31acce85fbb8674c5744

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