Add Claude Code with Juspay config and skills#51
Draft
srid wants to merge 2 commits into
Draft
Conversation
Wire up claude-code binary from llm-agents.nix with Juspay's LLM grid env vars and bundled skills via --add-dir. Extract checkApiKey into shared coding-agents/lib.nix for DRY across both agents.
Member
Author
|
| Step | Status | Duration | Verification |
|---|---|---|---|
| sync | ✓ | 0s | git fetch succeeded |
| research | ✓ | 22s | Read issue #22, all existing wrappers, flake.nix |
| hickey | ✓ | 50s | Single file wrapper, shared lib extraction |
| branch | ✓ | 30s | Draft PR #51 created |
| implement | ✓ | 128s | All packages build, version check, API key check |
| docs | ✓ | 42s | README updated |
| police | ✓ | 55s | All 3 passes clean |
| fmt | ✓ | 21s | No formatter configured, skipped |
| commit | ✓ | 15s | 89cd395 pushed |
| test | ✓ | 9s | Builds verified during implement |
| ci | ✓ | 31s | vira ci -b passed, 3 flakes built |
| update-pr | ✓ | 8s | Scope unchanged |
| Total | 6m 51s |
Optimization suggestions
- implement was the slowest step (128s) — Nix builds dominated; a warm cache would cut this significantly
- hickey + police combined 105s — for simple wrappers like this, the overhead is high relative to implementation; consider skipping for trivial PRs
- CI was fast (31s) because VM tests were already cached from the implement step's builds
Workflow completed at 2026-04-06T23:44:16Z.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude Code joins the selector menu alongside OpenCode, wired up with Juspay's LLM grid and bundled skills via
--add-dir.The wrapper sets all the env vars from the official
jclaude()pattern — base URL, model overrides, timeouts, feature flags — and injects skills fromjuspay/skillsusing Claude Code's--add-dirdirectory discovery.checkApiKeyis extracted into a shared lib so both agents DRY on validation.No home-manager module or editable variant yet — just the oneclick Juspay wrapper to start.
Closes #22
Try it locally