Real Skill packageSource verifiedClawHub registry

agentscope-gemini-usage-fix

Work around a Gemini usage normalization bug in AgentScope where cached_content_token_count=None causes Usage validation to fail. Use this whenever the user uses GeminiChatModel and sees ValidationError on cache_input_tokens.

Identity and source

Publisher attributionJingregistry owner unverified by skillvetai
Functional categoryWriting, Content & Translationautomatically inferred · 57% rule confidence
Package forminstruction with code4 recorded files
Canonical sourceClawHub registryclawhub:trend0522:agentscope-gemini-usage-fix
Open canonical source ↗

Platform declarations

These states come from the source or distribution context. None of the entries below are SkillVetAI compatibility test results.

OpenClawnative officialProvenance: registry distribution

Independent structural checks

These checks parse the fixed package against dated platform rules. They do not execute the Skill or verify task behavior.

Claude Codepasses structure
Checker 0.1.0 · agent-skills-2026-08-13+claude-code-docs-2026-08-13 · 10/3/2026.claude/skills/agentscope-gemini-usage-fix

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenAI Codexpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+codex-docs-2026-08-13 · 10/3/2026.agents/skills/agentscope-gemini-usage-fix

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenClawpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+openclaw-docs-2026-08-13 · 10/3/2026skills/agentscope-gemini-usage-fix

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

Installation and inspection

This command is recorded from the source ecosystem and resolves the registry's latest release. The fixed release shown on this page should be inspected before adoption.

clawhub install @trend0522/agentscope-gemini-usage-fix
clawhub inspect @trend0522/agentscope-gemini-usage-fix --version 1.0.0

Security evidence

SkillVetAI static result: no findings detected

This automated, non-executing scan is bound to this release hash. It is not a safety certification and may contain false positives or false negatives.

Status
completed
Coverage
full text content
Files
4 / 4 inspected as text
Checked
10/3/2026, 5:16:15 AM
Scanner
0.1.3
Policy
1.0.3
1 inferred permission indicators
  • network access — automatically inferred
2 dependency and API indicators
  • api: clawhub.ai
  • api: github.com
External clawhub result: clean

This is registry-supplied evidence for the recorded release, not an independent SkillVetAI scan. Check the canonical source for the full report, scanner versions, scope, and current moderation state.

Evidence checked
10/3/2026, 3:03:19 AM
Release binding
Matches this record
  • vt: clean
  • skillspector: clean
  • llm: clean

Recorded files

The catalog stores hashes and an inventory summary for change detection. It does not republish the package contents.

Package content hashsha256:85d3bdbe90d9de174f35805ed62ae43f5c28be0a8853d3d8554ab91f118daa1b
Show up to 4 recorded paths
  • scripts/reproduce_bug.py
  • skill-card.md
  • SKILL.md
  • tests/test_reproduce_bug.py

Source changelog

- Documents the GeminiChatModel usage extraction bug where cached_content_token_count=None causes Usage validation failures. - Provides a Python patch as a workaround to set cache_input_tokens=0 when needed. - Includes full instructions for applying the fix before using Gemini models in AgentScope. - Links to the upstream issue and proposed permanent fix.