Skip to content

Add Claude Code with Juspay config and skills#51

Draft
srid wants to merge 2 commits into
mainfrom
add-claude-code
Draft

Add Claude Code with Juspay config and skills#51
srid wants to merge 2 commits into
mainfrom
add-claude-code

Conversation

@srid

@srid srid commented Apr 6, 2026

Copy link
Copy Markdown
Member

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 from juspay/skills using Claude Code's --add-dir directory discovery. checkApiKey is 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

nix run github:juspay/AI/add-claude-code#claude-code-juspay-oneclick

srid added 2 commits April 6, 2026 19:38
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.
@srid

srid commented Apr 6, 2026

Copy link
Copy Markdown
Member Author

/do results

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.

@srid srid mentioned this pull request Apr 6, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Claude Code support

1 participant