You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@howaboua/opencode-glm-gemini-prompt-enhancer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@howaboua/opencode-glm-gemini-prompt-enhancer

Enhances GLM-4.7 and Gemini models with a rigorous coding assistant system prompt

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@howaboua/opencode-glm-gemini-prompt-enhancer

Automatically enhances GLM-4.7 and Gemini models with a rigorous coding assistant system prompt.

What It Does

This plugin prepends a comprehensive system prompt to GLM-4.7 and Gemini models, encouraging:

  • Precision - Execute with accuracy, verify claims before stating
  • Honesty - Stay grounded in verifiable facts, report actual actions
  • Persistence - Try 3 approaches before escalating, complete tasks fully
  • Structured workflow - Plan → Execute → Verify → Report
  • Error recovery - Quote, diagnose, fix, verify

Installation

Add to your opencode.json:

{
  "plugin": ["@howaboua/opencode-glm-gemini-prompt-enhancer"]
}

OpenCode automatically installs plugin dependencies at runtime.

Affected Models

  • GLM-4.7: Any model with glm-4.7 in its ID (e.g., zai-coding-plan/glm-4.7)
  • Gemini: Any model with gemini in its ID

Example Usage

{
  "plugin": ["@howaboua/opencode-glm-gemini-prompt-enhancer"],
  "model": "gemini-2.0-flash-exp"
}

Testing

  • Add to opencode.json (see Installation above)
  • Run OpenCode with a GLM-4.7 or Gemini model
  • Send a coding task and verify the response follows the structured format

Expected response format:

  • Structure: Solution → rationale (if needed) → next steps
  • Tone: Direct, concise, skip preambles
  • Verification: Claims verified with tools before stating
  • Completion: Tasks fully completed before yielding

License

MIT

Keywords

opencode

FAQs

Package last updated on 22 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts