git-workflow
git-workflow — a Claude Code skill from blogic-cz/agent-tools
Features
- ✓Secure AI agent CLI access
- ✓Customizable project configurations
- ✓Structured JSON output for LLMs
- ✓Credential guard to protect secrets
- ✓Curated collection of 7 tools for GitHub, Kubernetes, etc.
- ✓Visit the GitHub repo for more details
Installation Guide
Recommended: Copy the repo URL and tell your AI agent to install it. The agent will set up everything — dev dependency, config file, credential guard, skill — in the right places for your project.
>
>
> Install @blogic-cz/agent-tools from https://github.com/blogic-cz/agent-tools as a dev dependency, install the agent-tools skill, set up the credential guard, and configure the tools I need for this project.
>Manual installation
bun add -d @blogic-cz/agent-toolsSkill installation
Install per-tool skills for only the tools your project uses:
npx skills add blogic-cz/agent-tools --path skill/gh-tool
npx skills add blogic-cz/agent-tools --path skill/db-tool
npx skills add blogic-cz/agent-tools --path skill/k8s-tool
npx skills add blogic-cz/agent-tools --path skill/az-tool
npx skills add blogic-cz/agent-tools --path skill/logs-tool
npx skills add blogic-cz/agent-tools --path skill/session-toolOr install the all-in-one skill that covers every tool:
npx skills add blogic-cz/agent-tools --path skill/agent-toolsRequirements: Bun >=1.0.0
For agents reading this
Follow these steps to set up agent-tools in the consumer project.
Step 1 — Install
package.json): Install as a dev dependency: bun add -d @blogic-cz/agent-toolspackage.json): Skip installation — run tools directly with bunx: bunx gh-tool pr status
bunx k8s-tool pods --env testStep 2 — Configure
Ask the user which tools they need (gh, db, k8s, az, logs, session, audit). Create agent-tools.json5 in the project root with only the selected tools configured. See [examples/agent-tools.json5](./examples/agent-tools.json5) for the full config reference with all options documented.
Minimal starting config:
{
$schema: "https://raw.githubusercontent.com/blogic-cz/agent-tools/main/schemas/agent-tools.schema.json",
}Step 3 — Credential Guard
Set up the credential guard for the agent's platform:
PreToolUse hook to .claude/settings.json — see [Setup for Claude Code](#setup-for-claude-code).opencode/plugins/credential-guard.ts — see [Setup for OpenCode](#setup-for-opencode)Step 4 — Test & Demo
For each tool the user selected in Step 2:
bun <tool-name> --help to verify it works (e.g. bun gh-tool --help)agent-tools.json5 — e.g. which environments, clusters, namespaces, databases, or profiles are configured and reachableStep 5 — Skill & Agent Docs
Install only the per-tool skills the project needs (recommended), or the all-in-one skill:
# Per-tool skills (recommended) — install only what the project uses
npx skills add blogic-cz/agent-tools --path skill/gh-tool
npx skills add blogic-cz/agent-tools --path skill/db-tool
npx skills add blogic-cz/agent-tools --path skill/k8s-tool
npx skills add blogic-cz/agent-tools --path skill/az-tool
npx skills add blogic-cz/agent-tools --path skill/logs-tool
npx skills add blogic-cz/agent-tools --path skill/session-tool
# All-in-one skill (alternative) — all tools in a single skill
npx skills add blogic-cz/agent-tools --path skill/agent-toolsDo not run these commands for the user — they require interactive selection.
Available per-tool skills:
| Skill | Install when project uses |
| -------------- | ------------------------------------------ |
| gh-tool | GitHub PRs, issues, workflows, CI checks |
| db-tool | SQL queries, schema introspection |
| k8s-tool | Kubernetes pods, logs, deployments |
| az-tool | Azure DevOps pipelines, builds |
| logs-tool | Application log reading (local and remote) |
| session-tool | OpenCode session history browsing |
| agent-tools | All of the above in a single skill |
Then update the project's AGENTS.md and/or CLAUDE.md:
| GitHub PRs, issues, workflows | `gh-tool` |
| Database queries, schema | `db-tool` |
## Tooling
For tool wrappers and operational patterns, load the relevant tool skill (`gh-tool`, `db-tool`, etc.).Step 6 — Custom Tool Scaffold
Create an agent-tools/ directory in the project root with an example tool so the user has a working template for building project-specific tools. Copy the scaffold from [examples/custom-tool/](./examples/custom-tool/):
agent-tools/
package.json # private package depending on @blogic-cz/agent-tools
tsconfig.json # extends root tsconfig
noop.ts # placeholder export for typecheck
example-tool/
index.ts # ping-pong example using Effect CLIAfter creating the files, run bun install in the agent-tools/ directory (or from the workspace root if it's a monorepo). Then verify:
bun run agent-tools/example-tool/index.ts ping