/hashtree-git:hashtree-gitfrom hashtree-git
Publishes, clones, and shares Git repositories using Hashtree and Iris Git without a hosting account. Useful for account-free Git collaboration with public or link-visible visibility.
Ships in hashtree-git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use ordinary Git with git-remote-htree. htree manages the local identity and
optional daemon. A daemon is not required for basic Git operations.
htree --version and command -v git-remote-htree. Install released
binaries using the project's installation guide,
or cargo install hashtree-cli git-remote-htree if a Rust build is appropriate.htree user generates a key if absent and
shows public identities, with the default first. For an agent's independent
profile, set HTREE_CONFIG_DIR and HTREE_DATA_DIR to persistent private
directories outside repositories before invoking either CLI or Git. Keep the
settings consistent across runs. Never print, upload, or commit the keys
file; each writer gets its own key.htree:// remote is public, including Git
history and author metadata. Existing authorization to publish is sufficient;
a clone request alone does not authorize a push.For an existing repository, inspect git status, git remote -v, and the branch
to publish. Preserve existing remotes and uncommitted work. Add a distinct remote
name when htree is already taken:
git remote add htree htree://self/REPO_NAME
git push htree HEAD
self resolves to the current profile's signing identity. Get the default
public identity from the first field of the first line of htree user and return
these public URLs after a successful push:
htree://PUBLIC_NPUB/REPO_NAMEhttps://git.iris.to/#/PUBLIC_NPUB/REPO_NAMEUse a simple repository name or encode URL path segments correctly. Never share
htree://self/… as another user's clone URL.
git clone htree://PUBLIC_NPUB/REPO_NAME
For a first-use check, clone with a separate profile and empty data directory (or
on another machine), compare git rev-parse HEAD with the published commit, and
read a known file. Report the actual commit and any failed step. A cached local
read does not prove an independent reader can fetch the repository.
#link-visible for setup. The first invocation generates
a secret URL and instructions; set the remote to that #k=… URL, then push
again. Setup alone is not a publication. Treat the URL as a read credential;
never include it in public reports. Preserve the key when sharing privately.#private permits the author's identity to decrypt. Do not
convert to public or link-visible just to make another reader's clone work.For collaboration, clone the author's public URL, publish a fork to your own
htree://self/FORK_NAME, and share the public fork URL and branch for review.
htree pr create --help documents optional pull-request announcements. Forking
does not grant writes to the original. Do not share signing keys between agents
or force-push over unexpected remote refs. Fetch by the author's public identity;
do not use a self publish remote as an upstream to pull/rebase from.
Report the published commit, appropriate shareable URL, and independent-read result. Distinguish local commits, successful pushes, and verified remote reads. Preserve failed work for retry. A relay timeout is not proof a repository is absent. Storage operators control availability and retention, so promise no unlimited storage or permanent hosting.
For the complete first-use walkthrough, see Git for humans and agents.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mmalmi/hashtree --plugin hashtree-gitOther plugins' skills for the same job