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

gitculture_cli-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.

gitculture_cli-1.0.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitculture_cli-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 gitculture_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 436a363101fe736e7493b42e4b766eb6fc243013fa11125817eb1cdcee8663f1
MD5 d88f5391af8876abe85161e4560b6636
BLAKE2b-256 20e45fcf430cdf373dbf55f6ff77f2eb508733cac1c6a728c03293dee3a4d27f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitculture_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 31.7 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 gitculture_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4e5e6bf52ca469c9e58f5d7379fb407fb31ed3d42b4c1757c7a3df91af19f06
MD5 d31b7716178cd6803a8ffb111b4c3f8f
BLAKE2b-256 c736921e890dcf41dc4bb98199c3152e253cc78b8c5eb65e2607847775906efc

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