Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

huly-apihuly API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

494

周安装

21

GitHub Stars

7

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:huly-api(huly API 搜索)
来源仓库:https://github.com/proompteng/lab
仓库路径:skills/huly-api
安装命令:
npx skills add https://github.com/proompteng/lab --skill huly-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/proompteng/lab --skill huly-api

简介

huly-api 用于辅助 API 设计和接口文档生成,支持 OpenAPI 草稿创建。

  • 适用于前后端联调和错误码整理场景。huly-api 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限范围。
  • 使用时需确认真实业务语义和鉴权方式,避免凭空补字段。
  • 涉及接口文档时应从现有代码或样例中提取事实。

SKILL.md

Huly API

Overview

Use this skill whenever swarm agents need durable communication in Huly:

  • tracker tasks board (issues)
  • chunter channels (chat messages)
  • document teamspaces (mission docs)

Every autonomous mission should update all three surfaces. Default destinations for this workspace:

  • Tracker issues board: DefaultProject (https://huly.proompteng.ai/workbench/proompteng/tracker/tracker%3Aproject%3ADefaultProject/issues)
  • Documents teamspace: PROOMPTENG
  • Chat channel URL: https://huly.proompteng.ai/workbench/proompteng/chunter/chunter%3Aspace%3AGeneral%7Cchunter%3Aclass%3AChannel?message

Required Environment

Load credentials from the huly-api Kubernetes secret via AgentRun spec.secrets.

  • HULY_API_BASE_URL (should target transactor, for example http://transactor.huly.svc.cluster.local)
  • HULY_BASE_URL (optional human-facing base URL, often http://front.huly.svc.cluster.local)
  • HULY_API_TOKEN (bearer token)
  • Optional:

- HULY_WORKSPACE (workspace slug for operator context) - HULY_WORKSPACE_ID (workspace UUID; helper can also infer from JWT) - HULY_PROJECT (task board project identifier/name/id) - HULY_TEAMSPACE (document teamspace name/id) - HULY_CHANNEL (chat channel name/id) - per-agent tokens: HULY_API_TOKEN_<SWARM_AGENT_IDENTITY> or HULY_API_TOKEN_<SWARM_AGENT_WORKER_ID>

Helper Script

Use scripts/huly-api.py.

When Jangar runs this helper from the bundled agent image, the script is copied under /root/.codex/skills/huly-api/scripts/huly-api.py. Local repo checkouts still use skills/huly-api/scripts/huly-api.py, and HULY_API_SCRIPT_PATH can override either layout for debugging. Jangar runner images also copy the helper under /app/skills/huly-api/scripts/huly-api.py because AgentRun auth mounts shadow /root/.codex at runtime.

Mandatory channel interaction loop

For every mission stage, run this in order:

  1. Read recent channel history:
python3 skills/huly-api/scripts/huly-api.py \
  --operation list-channel-messages \
  --worker-id "${SWARM_AGENT_WORKER_ID}" \
  --worker-identity "${SWARM_AGENT_IDENTITY}" \
  --require-worker-token \
  --channel "${ACTIVE_HULY_CHANNEL}" \
  --limit 30
  1. React to at least one relevant teammate message by posting a natural direct reply with decision impact in-thread:
python3 skills/huly-api/scripts/huly-api.py \
  --operation post-channel-message \
  --worker-id "${SWARM_AGENT_WORKER_ID}" \
  --worker-identity "${SWARM_AGENT_IDENTITY}" \
  --require-worker-token \
  --channel "${ACTIVE_HULY_CHANNEL}" \
  --reply-to-message-id "${RELEVANT_MESSAGE_ID}" \
  --message "Thanks for the context. I picked this up and I am implementing X next."
  1. Post a worker-authored stage update after completing the mission action:
python3 skills/huly-api/scripts/huly-api.py \
  --operation post-channel-message \
  --worker-id "${SWARM_AGENT_WORKER_ID}" \
  --worker-identity "${SWARM_AGENT_IDENTITY}" \
  --require-worker-token \
  --channel "${ACTIVE_HULY_CHANNEL}" \
  --message "${OWNER_UPDATE_MESSAGE}"

Mission-level sync (recommended)

python3 skills/huly-api/scripts/huly-api.py \
  --operation upsert-mission \
  --worker-id "${SWARM_AGENT_WORKER_ID}" \
  --worker-identity "${SWARM_AGENT_IDENTITY}" \
  --mission-id jangar-discover-20260302 \
  --title "Jangar discover cycle" \
  --summary "Top platform risks and next actions" \
  --details "Includes evidence, risk deltas, and PR links" \
  --stage discover \
  --status running \
  --swarm-agent-worker-id "${SWARM_AGENT_WORKER_ID}" \
  --swarm-agent-identity "${SWARM_AGENT_IDENTITY}" \
  --message "${OWNER_UPDATE_MESSAGE}" \
  --project "DefaultProject" \
  --teamspace "PROOMPTENG" \
  --channel "general"

This creates/updates:

  • one task-board issue
  • one mission document
  • one channel message

Single-surface operations

python3 skills/huly-api/scripts/huly-api.py --operation create-issue --title "..." --mission-id "..."
python3 skills/huly-api/scripts/huly-api.py --operation create-document --title "..." --mission-id "..."
python3 skills/huly-api/scripts/huly-api.py --operation repair-project-issues --project "DefaultProject" --limit 500
python3 skills/huly-api/scripts/huly-api.py --operation repair-project-issues --project "DefaultProject" --limit 500 --fill-empty-issue-descriptions
python3 skills/huly-api/scripts/huly-api.py --operation dedupe-project-mission-issues --project "DefaultProject" --limit 1000 --dry-run
python3 skills/huly-api/scripts/huly-api.py --operation repair-teamspace-documents --teamspace "PROOMPTENG" --limit 500
python3 skills/huly-api/scripts/huly-api.py --operation post-channel-message --message "..."
python3 skills/huly-api/scripts/huly-api.py --operation post-channel-message --channel "general" --reply-to-message-id "<parent-message-id>" --message "In-thread reply"
python3 skills/huly-api/scripts/huly-api.py --operation list-channel-messages --channel "general" --limit 30
python3 skills/huly-api/scripts/huly-api.py --operation account-info --worker-id "${SWARM_AGENT_WORKER_ID}" --require-worker-token
python3 skills/huly-api/scripts/huly-api.py --operation verify-chat-access --worker-id "${SWARM_AGENT_WORKER_ID}" --worker-identity "${SWARM_AGENT_IDENTITY}" --require-worker-token --channel "general" --message "<worker-authored access check based on the actual requirement>"

Raw HTTP mode (debug)

python3 skills/huly-api/scripts/huly-api.py --operation http --method GET --path /api/v1/account/<workspace-id>

Operating Rules

  • Every mission stage must publish artifacts to all three Huly modules: tasks, channels, and docs.
  • Each swarm agent should authenticate with its own Huly organization account (no shared actor credentials).
  • Always target Tracker DefaultProject issues and Docs PROOMPTENG teamspace unless a run explicitly overrides them.
  • Resolve ACTIVE_HULY_CHANNEL dynamically from runtime context (prefer swarmRequirementChannel, then HULY_CHANNEL, then default).
  • Read channel history before taking action, then react to relevant teammate messages with explicit in-thread follow-up replies using --reply-to-message-id.
  • Use --require-worker-token for dedicated-account checks so shared fallback tokens are rejected.
  • For strict identity mapping, set per-worker HULY_EXPECTED_ACTOR_ID_<SWARM_AGENT_IDENTITY> and use --require-expected-actor-id.
  • Run verify-chat-access before autonomous delivery stages with a worker-authored --message.
  • Include swarmAgentWorkerId and swarmAgentIdentity in issue/document artifacts.
  • Keep channel messages human-readable by default; avoid appending metadata blocks.
  • Use actual run context in worker-authored updates; avoid canned acknowledgements or stock status templates.

- If you need metadata in chat for a specific audit/debug flow, use --append-channel-metadata. - upsert-mission automatically infers these fields from --worker-id/--worker-identity (or SWARM_AGENT_WORKER_ID/SWARM_AGENT_IDENTITY) if explicit --swarm-agent-worker-id/ --swarm-agent-identity flags are not provided.

  • Keep channel updates concise, written by the worker, and linked to issue/doc/PR/deploy evidence.
  • Issue descriptions must be long-form and knowledge-base quality. The helper now stores issue descriptions through collaborator refs (not raw inline markdown) so tracker descriptions reliably render and persist.
  • upsert-mission now reuses existing mission issues by mission id prefix ([mission:<id>]) to avoid duplicate ticket creation.
  • Use repair-project-issues to migrate legacy issues that still have inline markdown/plain text in Issue.description.
  • Use repair-project-issues --fill-empty-issue-descriptions when historical issues have truly empty description fields.
  • Use dedupe-project-mission-issues to move older duplicate mission issues to Canceled while keeping the most recent active issue.
  • Document content must be long-form and knowledge-base quality. The helper now stores mission document bodies through collaborator content refs (not raw inline markdown) so Huly editor/collaborator consistently loads and renders content.
  • Use repair-teamspace-documents to migrate legacy docs that still have inline markdown in Document.content.
  • If Huly auth fails, stop and return a clear unblock request instead of silently continuing.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.25%
按下载量换算68

Claude

30.83%
按下载量换算53

Cursor

16.93%
按下载量换算29

Gemini CLI

8.68%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills