← 返回
未分类 中文

Hizal Register Focus

Declare what the agent is currently working on. Self-triggering — fires whenever the agent has a clear task and wants related context to auto-inject. Use at...
声明代理当前正在进行的任务。自触发——当代理有明确任务并希望自动获取相关上下文时会触发。使用于...
parkerscobey
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 227
下载
💾 0
安装
1
版本
#latest

概述

Hizal Register Focus

Declare what you're working on. Enables focus-tag-based chunk injection.

Usage

hizal__register_focus(
  session_id="<session-id>",
  task="<clear description of current work>",
  tags=["<relevant-tag>", "<another-tag>"]
)

Parameters

  • session_id — the active session's ID (from start_session or get_active_session)
  • task — a short, clear description of what you're doing (e.g., "Implement webhook signature verification for Nuvei DMNs")
  • tags — keywords that match focus_tags rules on context chunks. Chunks with matching rules get injected into your session automatically.

When to Use

  • At session start, if the task is known
  • Mid-session, if the task changes significantly
  • After a context reset, to re-establish focus

Tips

  • Keep tags specific and domain-relevant. Good: ["webhooks", "signing", "nuvei"]. Bad: ["code", "work"].
  • You can re-register with different tags as the task evolves — it replaces the previous focus.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-23 23:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Hizal End

parkerscobey
关闭代理的上下文会话并整合所学。自触发——在代理完成任务、结束工作或即将离开时触发。
★ 0 📥 266

Hizal Write

parkerscobey
在构建时持久化代理所学内容。自我触发——每当代理做决策、发现模式、学习约定或遇到问题时触发。
★ 0 📥 266

Hizal Search

parkerscobey
在构建前先检索已有上下文。自我触发——在代理即将搜索代码库、回忆先前决策、查看...时触发。
★ 0 📥 261