# opencode-prompt-enhancer-translator

> Write Arabic prompts, OpenCode hears perfect English — local models only, no API key.

opencode-prompt-enhancer-translator is a free AI agent skill on Agensi by hany hassan. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [hany hassan](https://www.agensi.io/creators/hany-hassan)
- Version: 3.2.1
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/opencode-prompt-enhancer-translator
- Tags: prompt-skill-engineering, opencode, arabic, translator, ollama

## About this skill

Write your OpenCode prompt in Arabic — even Egyptian dialect — and it reaches the agent as polished professional technical English. The plugin auto-enhances and translates Arabic prompts to English using local small models (Ollama / Transformers) with a fast glossary fallback. No API key, nothing leaves your machine. One-command install: add it to opencode.json and restart OpenCode.

## Requires

- OpenCode
- Optional: Ollama
- Optional: Node.js

Ollama is only needed for the smartest translation mode; the glossary fallback needs nothing.

## Known limitations

Translation quality depends on the provider: glossary is fast but literal, Ollama is the most natural. Ollama mode needs ollama serve running.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the opencode-prompt-enhancer-translator skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does it need an API key?

No. Translation runs on local models (Ollama / Transformers) or the built-in glossary. No API key and no cloud translation service.

### What happens if Ollama is not running?

The plugin falls back to the built-in glossary, so it still works offline, just more literally.

### Which model does Ollama use by default?

qwen2:0.5b (about 500 MB). You can switch to llama3.2:1b or qwen2:1.5b in .opencode/prompt-enhancer.json.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
