From 0cf0351826e56d902b2e707aada82d323a54922d Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Wed, 4 Mar 2026 19:23:03 +0000 Subject: [PATCH] chore(todo): remove priorities from queued items and add admin tool - Removed priority lines from various TODO markdown files - Added new admin.md for grokkit admin tool - Updated README.md with new entry --- todo/README.md | 1 + todo/queued/TODO_ITEM.md | 1 - todo/queued/admin.md | 19 +++++++++++++++++++ todo/queued/audit.md | 1 - todo/queued/cnotes.md | 1 - todo/queued/git-chglog.md | 1 - todo/queued/gotools.md | 1 - todo/queued/interactive-agent.md | 1 - todo/queued/make.md | 1 - todo/queued/pprof.md | 1 - todo/queued/profile.md | 1 - todo/queued/rg.md | 1 - todo/queued/tea.md | 1 - 13 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 todo/queued/admin.md diff --git a/todo/README.md b/todo/README.md index 3d3fb6e..6c4a973 100644 --- a/todo/README.md +++ b/todo/README.md @@ -14,6 +14,7 @@ This document provides a table of contents for all tasks and features currently * [8] [pprof.md](./queued/pprof.md) : grokkit agent pprof integration * [9] [audit.md](./queued/audit.md) : grokkit audit * [10] [git-chglog.md](./queued/git-chglog.md) : grokkit agent git-chglog integration +* [11] [admin.md](./queued/admin.md) : grokkit admin tool (to show token usage and other admin-only features) * [99] [TODO_ITEM.md](./queued/TODO_ITEM.md) : TODO ITEM template ## Completed diff --git a/todo/queued/TODO_ITEM.md b/todo/queued/TODO_ITEM.md index c6eca1b..f812abc 100644 --- a/todo/queued/TODO_ITEM.md +++ b/todo/queued/TODO_ITEM.md @@ -1,5 +1,4 @@ # TODO ITEM 1 -## Priority: 12 of 12 - [ ] 1 step one - [ ] 2 step two - [ ] 3 step three diff --git a/todo/queued/admin.md b/todo/queued/admin.md new file mode 100644 index 0000000..59ac5f9 --- /dev/null +++ b/todo/queued/admin.md @@ -0,0 +1,19 @@ +# `grokkit admin` administration tools + +### Category: Nice to Have + +Add an `admin` command that, if an `XAI_MGMT_KEY` is set in the environment, displays up-to-date token usage on the api account/team. + +### Details +- **Command**: `grokkit admin` +- **Subcommands**: + - `grokkit admin token-usage` <-- default (shows token usage for current team) + - `grokkit admin credit-balance` <-- shows credit balance for current team + - `grokkit admin models` <-- shows available models + - `grokkit admin api-keys` <-- shows available API keys + +- **Condition**: Must check for `XAI_MGMT_KEY` env var. +- **Functionality**: Fetch and display token usage stats from the [XAI MANAGEMENT API](https://docs.x.ai/developers/rest-api-reference/management. +- **Goal**: Help me monitor my API costs and limits directly from the CLI. + +NOTE: If possible, it would be cool if this command was "hidden" if the XAI_MGMT_KEY is not set. \ No newline at end of file diff --git a/todo/queued/audit.md b/todo/queued/audit.md index 716a4b0..0dabf67 100644 --- a/todo/queued/audit.md +++ b/todo/queued/audit.md @@ -1,5 +1,4 @@ # `grokkit audit` -## Priority: 9 of 12 **Description**: Comprehensive AI-powered code audit for security, performance, best practices, and potential bugs across single files or entire projects. **Benefits**: diff --git a/todo/queued/cnotes.md b/todo/queued/cnotes.md index 89de4e1..588e450 100644 --- a/todo/queued/cnotes.md +++ b/todo/queued/cnotes.md @@ -1,5 +1,4 @@ # `grokkit agent` cnotes integration -## Priority: 6 of 12 **Description**: Wrappers for your `cnotes` CLI logging suite. Allows Grok to automatically log coding sessions, notes, progress during agent workflows (e.g., "start work on feature", "log bug found"). diff --git a/todo/queued/git-chglog.md b/todo/queued/git-chglog.md index 67906b1..bd42000 100644 --- a/todo/queued/git-chglog.md +++ b/todo/queued/git-chglog.md @@ -1,5 +1,4 @@ # `grokkit agent` git-chglog integration -## Priority: 11 of 12 **Description**: Wrapper for git-chglog CLI: generates CHANGELOG.md from conventional commits/tags. AI-enhanced parsing/validation. diff --git a/todo/queued/gotools.md b/todo/queued/gotools.md index b80ef48..4299bab 100644 --- a/todo/queued/gotools.md +++ b/todo/queued/gotools.md @@ -1,5 +1,4 @@ # `grokkit agent` Go tools integration -## Priority: 5 of 12 **Description**: Wrappers for `go` subcommands: mod tidy, generate, vet, fmt. Ensures hygiene post-agent edits. diff --git a/todo/queued/interactive-agent.md b/todo/queued/interactive-agent.md index 55db561..8901f7d 100644 --- a/todo/queued/interactive-agent.md +++ b/todo/queued/interactive-agent.md @@ -1,6 +1,5 @@ # Grokkit Interactive Agent -**Priority:** 2 of 12 (right after testgen) ## Goal diff --git a/todo/queued/make.md b/todo/queued/make.md index 351c023..e156b65 100644 --- a/todo/queued/make.md +++ b/todo/queued/make.md @@ -1,5 +1,4 @@ # `grokkit agent` make integration -## Priority: 3 of 12 **Description**: Wrappers for Makefile targets (test/lint/build/cover). Enables Grok to run/verify builds mid-agent workflow (e.g., "edit, test, fix loops"). diff --git a/todo/queued/pprof.md b/todo/queued/pprof.md index 54a82db..e0e4b07 100644 --- a/todo/queued/pprof.md +++ b/todo/queued/pprof.md @@ -1,5 +1,4 @@ # `grokkit agent` pprof integration -## Priority: 10 of 12 **Description**: Go pprof profiling wrappers (CPU/memory/allocs). Captures profiles during agent runs, AI-analyzes hotspots. diff --git a/todo/queued/profile.md b/todo/queued/profile.md index 8d633e9..cf91ea3 100644 --- a/todo/queued/profile.md +++ b/todo/queued/profile.md @@ -1,5 +1,4 @@ # `grokkit profile` -## Priority: 8 of 12 **Description**: Run Go benchmarks/pprof, get AI-suggested performance optimizations. **Benefits**: diff --git a/todo/queued/rg.md b/todo/queued/rg.md index 13b7a09..6fd5515 100644 --- a/todo/queued/rg.md +++ b/todo/queued/rg.md @@ -1,5 +1,4 @@ # `grokkit agent` ripgrep (rg) integration -## Priority: 7 of 12 **Description**: Fast search wrapper for ripgrep (`rg`). Enables agent to grep project for symbols/patterns/context before edits. diff --git a/todo/queued/tea.md b/todo/queued/tea.md index 0d1bcf3..49102c9 100644 --- a/todo/queued/tea.md +++ b/todo/queued/tea.md @@ -1,5 +1,4 @@ # `grokkit agent` tea integration -## Priority: 4 of 12 **Description**: Safe, AI-orchestrated wrappers for Gitea `tea` CLI commands. Enables Grok to manage repos (list/create PRs/issues, comments) as part of agent workflows, with previews and confirmations.