ghafi — GitHub Agent First Interface; an AgentCulture manager.
Project description
ghafi
GitHub CLI and agent — an AgentCulture manager.
ghafi 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 ghafi
# or
pip install ghafi
Usage
export GITHUB_TOKEN=ghp_...
ghafi learn # self-teaching prompt (also --json)
ghafi whoami # verify the token
ghafi repo create my-new-repo # dry-run: prints would-be POST body
ghafi repo create my-new-repo --apply
ghafi repo scaffold ./my-new-repo --apply # shells out to `afi cli cite`
ghafi repo env my-new-repo --name pypi --apply
ghafi repo env my-new-repo --name testpypi --apply
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ghafi-0.0.2.tar.gz.
File metadata
- Download URL: ghafi-0.0.2.tar.gz
- Upload date:
- Size: 67.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68c9e3039609d9ea6a700bd68311d35e29d7e6e4a0edbd2b6b678a9e84a69a8f
|
|
| MD5 |
1fc4384e41d4d60ff502fade49012b0c
|
|
| BLAKE2b-256 |
2f4e97a242cec6df66e83e48d6d1e2e8653d3591df2254ac177f86d58271d2ce
|
File details
Details for the file ghafi-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ghafi-0.0.2-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ffa31de962d5f1f10c9bf9047af590bf61591e993a7d3b5d0750b182169cbd6
|
|
| MD5 |
4f0b88c7ab6620c504a6e4b24b2abb14
|
|
| BLAKE2b-256 |
fb546af554d16bfdc6c9867c4b8e9cde5eb90f4ec461e42a4778684cb02ad63b
|