Skip to main content

gitculture-cli

GitHub CLI and agent — an AgentCulture manager.

gitculture bootstraps and maintains AgentCulture sibling repositories on GitHub: create new repos with workflow permissions, scaffold the afi-cli python-cli template into them, and create the pypi / testpypi GitHub Environments needed for Trusted Publishing.

Install

uv tool install gitculture-cli
# or
pip install gitculture-cli

The package was formerly published as ghafi; pip install ghafi still works — the same tool is published under both names (ghafi is a full, zero-dependency distribution, not a shim).

Usage

export GITHUB_TOKEN=ghp_...

gitculture learn                          # self-teaching prompt (also --json)
gitculture whoami                         # verify the token
gitculture repo create my-new-repo        # dry-run: prints would-be POST body
gitculture repo create my-new-repo --apply
gitculture repo scaffold ./my-new-repo --apply       # shells out to `afi cli cite`
gitculture repo env my-new-repo --name pypi --apply
gitculture repo env my-new-repo --name testpypi --apply

The ghafi command remains as a backward-compatible alias.

Every GitHub-mutating verb defaults to dry-run. Pass --apply to commit.

Status

Early v0.x. See CHANGELOG.md for the full surface and CLAUDE.md for the project shape and conventions.

License

MIT.

Metadata

Release files for ghafi 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghafi 1.0.0
File Size Uploaded Provenance
ghafi-1.0.0.tar.gz 103.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ghafi 1.0.0
File Interpreter ABI Platform
ghafi-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 134.9 kB

Release files / ghafi-1.0.0.tar.gz

Download URL ghafi-1.0.0.tar.gz
Size 103.3 kB
Tags Source
SHA-256 checksum
How to use checksums
245ea74581fec9f9789903e801ac65adc35dc1be913588b4464c8998cebb3cf4
BLAKE2b-256 checksum
How to use checksums
9cbae1c5cd7069901a9ee04e2a0a657a9cd2c483ccae510bea41d3d289d1d505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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}

Release files / ghafi-1.0.0-py3-none-any.whl

Download URL ghafi-1.0.0-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
770c777fc654812da3a6d3f81518c6655c7ce66a8005a11db8cfc1fc1a4715d8
BLAKE2b-256 checksum
How to use checksums
5e246402303dd7bbe75e373798c4b4d79f65f32978335be061fa824410dd3545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","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}

Security for ghafi 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page