← 返回 Skills 市场
parkerscobey

Hizal Write

作者 Parker · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ pending
54
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hizal-write
功能描述
Persist what the agent learns as it builds. Self-triggering — fires whenever the agent makes a decision, discovers a pattern, learns a convention, hits a got...
使用说明 (SKILL.md)

Hizal Write

Write as you build. Not optional.

Available Write Tools

What you're writing Tool Scope
Personal observation or lesson learned hizal__write_memory AGENT
Architecture or design decision hizal__write_knowledge PROJECT
Convention this codebase follows hizal__write_convention PROJECT (auto-inject)
Agent identity or personality hizal__write_identity AGENT (auto-inject)
Org-wide knowledge hizal__write_org_knowledge ORG
Principle (requires human promotion) hizal__store_principle ORG
Custom chunk type hizal__write_chunk varies

Do not use hizal__write_context — it's deprecated. Use the purpose-built tools above.

Custom Chunk Types via write_chunk

For chunk types not covered by the built-in tools, use hizal__write_chunk. Chunk types are customizable per org — always discover what's available before assuming a type doesn't exist.

Discover Available Types

hizal__list_chunks()  # inspect chunk_type values in results

Or check the project's AGENTS.md for the org's type conventions.

Usage

hizal__write_chunk(
  type="\x3Cchunk-type-slug>",
  query_key="\x3Cunique-key>",
  title="\x3Cshort title>",
  content="\x3Cfull content>",
  scope="PROJECT",  # or AGENT, ORG
  project_id="\x3Cid>",  # required for PROJECT scope
  org_id="\x3Cid>",  # required for ORG scope
  agent_id="\x3Cid>"  # required for AGENT scope
)

write_chunk accepts the same common fields as all other write tools (query_key, title, content, gotchas, related, source_file, inject_audience, etc.). It also accepts custom_fields for type-specific metadata.

When to Use write_chunk vs Built-in Tools

  • Built-in tools — use whenever the content maps cleanly to MEMORY, KNOWLEDGE, CONVENTION, IDENTITY, ORG_KNOWLEDGE, or PRINCIPLE
  • write_chunk — use for any custom org type (e.g., SPEC, RUNBOOK, ADR, INVESTIGATION)
  • When in doubt, check what chunk types the org has defined and pick the closest match

Write One Chunk Per Decision

Don't batch everything into one chunk at the end. Write as you go:

  • Made an architecture decision? → write_knowledge now
  • Learned a codebase convention? → write_convention now
  • Discovered something useful personally? → write_memory now
  • Found a custom type that fits better? → write_chunk now

Common Fields

All write tools accept:

  • query_key — unique key for this topic (enables exact lookup later)
  • title — short descriptive title
  • content — the full context content
  • source_file / source_lines — where this came from
  • gotchas — list of warnings or pitfalls
  • related — list of related query_keys
  • inject_audience — DNF targeting spec for auto-injection (omit for defaults)

Example

hizal__write_knowledge(
  project_id="\x3Cid>",
  query_key="nuvei-webhook-signing",
  title="DMN Webhook Signature Verification",
  content="All DMN payloads are verified using SHA-256 HMAC. The checksum is computed from sorted key-value pairs + merchant secret. See package internal/checksum for implementation.",
  related=["nuvei-payload-structure", "merchant-credentials"],
  gotchas=["Never use /payment for credential verification"]
)

Promote AGENT → PROJECT

If a personal memory chunk is broadly useful for the team, promote it:

  1. Read the chunk with hizal__read_context
  2. Write it back as write_knowledge or write_convention with the content
  3. Optionally delete the original AGENT chunk with hizal__delete_context
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hizal-write
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hizal-write 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of hizal-write — a skill for persisting agent learnings as they happen. - Self-triggering: fires whenever an agent learns, discovers, or decides something worth saving. - Provides dedicated write tools for personal memory, project knowledge, conventions, identity, org-wide knowledge, and principles. - Supports custom chunk types via a flexible `write_chunk` interface. - Strong guidance: write one chunk per decision, as you work, not just at the end. - Includes detailed usage examples and field documentation. - Deprecates the old `hizal__write_context` in favor of specialized tools.
元数据
Slug hizal-write
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Hizal Write 是什么?

Persist what the agent learns as it builds. Self-triggering — fires whenever the agent makes a decision, discovers a pattern, learns a convention, hits a got... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Hizal Write?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hizal-write」即可一键安装,无需额外配置。

Hizal Write 是免费的吗?

是的,Hizal Write 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Hizal Write 支持哪些平台?

Hizal Write 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hizal Write?

由 Parker(@parkerscobey)开发并维护,当前版本 v0.1.0。

💬 留言讨论