claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Use when delegation-core selects Gemini or 1M+ token context is needed.
$ npx -y skills add athola/claude-night-market --skill gemini-delegation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gemini-delegationContext preview
The summary Claude sees to decide when to auto-load this skill.
Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Use when delegation-core selects Gemini or 1M+ token context is needed.
name: gemini-delegation description: Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Use when delegation-core selects Gemini or 1M+ token context is needed. alwaysApply: false category: delegation-implementation tags: - gemini - cli - delegation - google - large-context dependencies: - delegation-core tools: - gemini-cli usage_patterns: - gemini-cli-integration - large-context-analysis - batch-processing complexity: intermediate model_hint: standard estimated_tokens: 600 progressive_loading: true modules: - modules/gemini-specifics.md references: - delegation-core/../../leyline/skills/authentication-patterns/SKILL.md - delegation-core/../../leyline/skills/quota-management/SKILL.md - delegation-core/../../leyline/skills/usage-logging/SKILL.md - delegation-core/../../leyline/skills/error-patterns/SKILL.md
This skill implements `conjure:delegation-core` for the Gemini CLI. It provides Gemini-specific authentication, quota management, and command construction.
For shared delegation patterns, see `Skill(conjure:delegation-core)`.
**Installation:**
# Verify installation gemini --version # Check authentication gemini auth status # Login if needed gemini auth login # Or set API key export GEMINI_API_KEY="your-key"
**Verification:** Run the command with `--help` flag to verify availability.
# File analysis gemini -p "@path/to/file Analyze this code" # Multiple files gemini -p "@src/**/*.py Summarize these files" # With specific model gemini --model gemini-3-pro -p "..." # JSON output gemini --output-format json -p "..."
gemini -p "..." > delegations/gemini/$(date +%Y%m%d_%H%M%S).md
For Gemini-specific models, CLI options, cost reference, and troubleshooting, see `modules/gemini-specifics.md`.
installation is reported and stops execution.
own exit code, never from `gemini auth status`. That command exits 0 while printing `Error authenticating: ProjectIdRequiredError` over a credential that cannot be used, so its status is not evidence. `delegation-core`'s shared module states the rule: authentication is never decided by running a provider's own CLI.
`delegations/gemini/YYYYMMDD_HHMMSS.md` (timestamp format matching the Quick Start example), and that file exists on disk after the delegation completes.
is not invoked; Gemini delegation only runs when delegation-core explicitly routes to Gemini.
the estimated token count and confirms it falls within Gemini's supported window.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.