본문으로 건너뛰기
Skillpedia
일반 코딩6.9k · #13730

hana-plugin-creator

하는 일

Hana 플러그인 아이디어를 설명하고, Hana SDK로 구현할 수 있는지 확인하고, 시작 파일을 만들도록 돕습니다. 초보자에게는 안내를, 개발자에게는 SDK 세부 정보를 제공하는 스킬입니다.

사용하는 경우

  • ✓Hana 앱에 추가하고 싶은 기능의 아이디어가 있을 때.
  • ✓계획한 플러그인을 Hana SDK가 지원하는지 알고 싶을 때.
  • ✓시작 파일이 들어 있는 플러그인 폴더를 만들고 싶을 때.

스킬 링크

https://github.com/liliMozi/openhanako/blob/main/skills2set/hana-plugin-creator/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/liliMozi/openhanako/blob/main/skills2set/hana-plugin-creator/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Hana에 제 메모를 파일로 저장하는 버튼을 넣고 싶어요. 플러그인을 계획하고 만들어 주시겠어요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 무엇을 만들고 싶은지 묻고, 플러그인의 필요 사항을 SDK와 대조해 확인합니다. 그다음 매니페스트와 시작 파일을 작성해 설치할 수 있는 폴더로 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

Hana provides install/enable/reload, per-agent skill toggles, manifest capability checks, iframe host messaging, theme tokens, toast/clipboard/external host APIs, EventBus, data directories, and SDK packages.

Current boundaries: WebView/iframe UI is the stable escape hatch for existing web apps, remote sites, and standalone HTML. chat.surface is a thin native transcript surface for plugin-owned plugin_private / private sessions created through the runtime session API. Rich native card composition is not part of the public SDK contract yet. Native renderer components and code sandboxing are not the default path yet. Ordinary manifest capabilities are declaration metadata and can be used directly through the SDK/EventBus; sensitiveCapabilities records future user-granted permission intent. If a request depends on native renderer hooks, code sandboxing, or fine-grained permission prompts, explain the gap and propose the closest supported shape.

Environment Preflight

R

자주 묻는 질문

코딩을 알아야 하나요?

아니요. 스킬은 각 단계를 쉬운 말로 설명하는 초보자 모드를 제공합니다.

Codex 플러그인을 위한 스킬인가요?

아니요. 이 스킬은 Codex 플러그인 묶음이 아니라 Hana 앱 플러그인을 위한 스킬입니다.

플러그인 폴더에는 무엇이 들어 있나요?

매니페스트, 런타임 도구, 선택 사항인 웹 뷰 화면이 들어 있으며, Hana가 설치할 수 있도록 구성됩니다.

상세 정보

작성자의 원본 설명

Create Hana plugin scaffolds and guide users through beginner or developer plugin planning, capability checks, manifest setup, runtime tools, WebView/iframe UI, Session/Agent APIs, model/media APIs, SDK templates, and install-ready plugin directories. Use when HanaAgent/Codex needs to explain what Hana plugins can do, help a user describe a plugin idea, check whether the SDK supports it, or generate/update a Hana plugin with @hana/plugin-runtime, @hana/plugin-sdk, and @hana/plugin-components.

repo: liliMozi/openhanako

인기도

GitHub 스타
6.9k
순위
#13730
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

비슷한 스킬