Skip to main content

gitculture — GitHub Agent First Interface; an AgentCulture manager (the gitculture CLI; formerly ghafi).

Project description

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.

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

ghafi-1.0.0.tar.gz (103.3 kB view details)

Uploaded Source

Built Distribution

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

ghafi-1.0.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file ghafi-1.0.0.tar.gz.

File metadata

  • Download URL: ghafi-1.0.0.tar.gz
  • Upload date:
  • Size: 103.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for ghafi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 245ea74581fec9f9789903e801ac65adc35dc1be913588b4464c8998cebb3cf4
MD5 4ff3a4cf46eaed0cc764955bd765fef6
BLAKE2b-256 9cbae1c5cd7069901a9ee04e2a0a657a9cd2c483ccae510bea41d3d289d1d505

See more details on using hashes here.

File details

Details for the file ghafi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ghafi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for ghafi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 770c777fc654812da3a6d3f81518c6655c7ce66a8005a11db8cfc1fc1a4715d8
MD5 96cdd7b5eb270c777d1375be68a5ae5f
BLAKE2b-256 5e246402303dd7bbe75e373798c4b4d79f65f32978335be061fa824410dd3545

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