hana-plugin-creator

hana-plugin-creator is a skill for Codex from liliMozi/openhanako. It costs 107 tokens per session (5,184 once invoked), scanned A, original, Apache-2.0.

A guide for creating Hana application plugins, which are add-ons that extend HanaAgent with new abilities or interfaces.

In plain words
What is it for?
Use it to plan and scaffold Hana plugins, including their manifest, runtime tools, user interface, sessions, and API integrations.
Why use it?
It helps turn an idea into a plugin plan and covers the choices needed for files, web pages, external services, accounts, and model or media features.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to plan and scaffold Hana plugins, including their manifest, runtime tools, user interface, sessions, and API integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lilimozi/openhanako/hana-plugin-creator
About the project

HanaAgent is a personal AI assistant that combines memory, personality, computer interaction, and autonomous actions through a graphical interface. It is intended for everyday computer users as well as developers, supporting tasks such as browsing, searching, file work, code execution, scheduling, and collaboration between multiple agents. The catalogue skills extend HanaAgent's abilities and workflows.

liliMozi/openhanako · 6,519 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add liliMozi/openhanako --skill hana-plugin-creator
Clone the repo
git clone --depth 1 https://github.com/liliMozi/openhanako

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hana-plugin-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/lilimozi/openhanako/hana-plugin-creator/github.svg)](https://agentmods.dev/skills/lilimozi/openhanako/hana-plugin-creator)
Your own site
<a href="https://agentmods.dev/skills/lilimozi/openhanako/hana-plugin-creator"><img src="https://agentmods.dev/badge/skills/lilimozi/openhanako/hana-plugin-creator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hana-plugin-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/lilimozi/openhanako/hana-plugin-creator"><img src="https://agentmods.dev/badge/skills/lilimozi/openhanako/hana-plugin-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00107 $0.05184
Opus 5 $0.00053 $0.02592
Sonnet 5 $0.00021 $0.01037
Haiku 4.5 $0.00011 $0.00518

Measured 10d ago against content hash 72ff5bf838f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

hana-plugin-creator scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_env.mjs, scripts/create_hana_plugin.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- For external HTTP APIs, declare `"network.fetch"` in `capabilities` and add a top-level `network` object with `allowedHosts`, `methods`, `defaultTimeoutMs`, and `maxResponseBytes`. Use `ctx.network.fetch(url, { cacheTt
skills2set/hana-plugin-creator/SKILL.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hana Plugin Creator

Use this skill for Hana application plugins, not Codex .codex-plugin bundles.

First Contact

On first use, give a map, not an encyclopedia. Explain what Hana plugins can add, ask what the user wants to build, and invite follow-up questions. Expand details only after the user asks or after the chosen scaffold needs them.

Choose the user mode this way:

  • If the user explicitly says they are new, non-technical, or wants hand-holding, use beginner mode.
  • If the user explicitly asks for SDK/API/build details or gives code-level requirements, use developer mode.
  • If memory is unavailable, disabled, or uncertain, ask: 你想我用哪种方式帮你创建插件?A. 边讲边做 B. 开发者模式

Beginner mode tone: encouraging, concrete, and guided. Say that the user can describe the feature in plain language, HanaAgent will help turn it into a plugin plan and scaffold, and HanaAgent can answer questions at any step. Ask:

  1. 你希望 HanaAgent 多一个什么能力?
  2. 这个能力是让 Agent 自动调用,还是让你点界面使用?
  3. 它需要界面、文件、联网、外部平台、账号权限吗?

Developer mode tone: concise and collaborative. Lead with the capability surface, then ask for the target contribution and integration boundary.

After delivering a plugin, encourage with grounded product value. Name the real situation where the plugin helps, such as reducing repeated steps, making an external service available inside Hana, turning a manual workflow into an Agent-callable tool, or giving a recurring task a stable UI. Use natural wording such as 这个想法挺实用,适合把每周重复整理的步骤固定下来 or 这个方向比较适合做成工具型插件,因为 Agent 可以在对话里直接调用. Avoid inflated praise like 你的设想太棒了.

Capability Map

Hana plugins can provide:

  • Agent-callable tools and slash-style actions.
  • Skills, agents, and knowledge that guide model behavior.
  • WebView/iframe pages, widgets, and cards using Hana theme and host capabilities.
  • Declarative chat.surface cards for showing plugin-owned private session transcripts in the main chat stream.
  • Lifecycle and EventBus handlers for full-access integrations.
  • Session and Agent control through @hana/plugin-runtime: create/list/update/send/abort/history sessions, subscribe to session events, create/read/update plugin-owned agents, and hide plugin-private resources from the main Hana UI.
  • Per-turn model context injection through sendSessionMessage(..., { context }) or session:send.context, suitable for plugin-owned RAG, world lore, mood, character state, or routing hints. This affects only the current provider request and does not rewrite visible user text.
  • Non-streaming utility model calls through sampleText() for plugin-side summarization, RAG query rewriting, routing, and classification.
  • External HTTP data access through runtime ctx.network.fetch() with manifest-declared hosts, methods, timeout, cache, and response-size boundaries.
  • User resource access through runtime ctx.resources, with ResourceRef inputs for local files, mounts, SessionFiles, durable resources, read-only URLs, and backend watch subscriptions.
  • Media discovery and generation through listMediaProviders(), resolveMediaModel(), and generateImage(), with generated files delivered as SessionFile resources.
  • Provider contributions for chat and media capabilities, including image/video/speech providers backed by HTTP, OAuth HTTP, local CLI, browser CLI, or plugin runtimes.
  • Pi SDK extension-style integrations under extensions/*.js where the plugin must observe or transform the LLM request pipeline.
  • SessionFile-backed outputs for files and media.

Read the full file on GitHub · 212 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 212 lines · 107 tokens per session scan A 72ff5bf838f1

Subscribe to this mod's changes

hana-plugin-creator is a skill published in the GitHub repository liliMozi/openhanako (6,519 stars, last pushed 13d ago), licensed Apache-2.0. It adds 107 tokens to every session and 5,184 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens