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

hive技能安全扫描

Agent Skill

hive 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

165

周安装

7

GitHub Stars

公开资料未说明

下载量

58
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/asgarth/hive-skills --skill hive

简介

hive 用于查询 Hive 区块链状态与广播操作,如发帖、投票与转账。

  • 它通过 @peakd/hive-tx-cli 提供命令行接口,支持账户、内容与奖励信息检索。
  • 适用于去中心化应用开发与社区治理,需 Node.js >= 22.0.0 环境。
  • 安装来自 GitHub,注意 npm 依赖与密钥安全,避免泄露私钥信息。
  • hive 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Hive CLI

The hive CLI (@peakd/hive-tx-cli) is the single entrypoint for this skill. All functionality is accessed through its subcommands. Do not create wrapper scripts that only duplicate CLI invocations.

Use hive (@peakd/hive-tx-cli) to query Hive state and broadcast common operations.

Install

# npm/pnpm/bun
npm install -g @peakd/hive-tx-cli

# One-shot (no install)
bunx @peakd/hive-tx-cli account peakd

Requirements

  • Node.js >= 22.0.0

When to Use

Use this skill when you need to:

  • Query Hive blockchain state (accounts, content, RC, feed, rewards)
  • Broadcast operations (post, reply, vote, transfer, follow, custom-json)
  • Upload images to Hive's image hosting
  • Manage community subscriptions
  • Claim rewards or delegate HP

When Not to Use

Do not use this skill when:

  • Simple read-only queries where raw API calls are faster (use hive call directly)
  • Operations requiring hardware wallet signing (not supported)
  • High-frequency trading scenarios (use specialized tools)
  • Operations on chains other than Hive (e.g., Hive Engine tokens require different tools)

Workflow

Follow this general workflow for safe operations:

  1. Configure keys: Run hive config interactively or set environment variables (HIVE_ACCOUNT, HIVE_POSTING_KEY, HIVE_ACTIVE_KEY) hive config # Interactive setup export HIVE_ACCOUNT="your-username" export HIVE_POSTING_KEY="your-posting-private-key"
  2. Test with query/dry-run: Verify configuration with hive status, query the target account, or use read-only commands first hive status # Check configuration status hive account peakd # Query target account
  3. Execute operation: Run the broadcast command (add --wait for commands that support it) hive vote --url https://peakd.com/@author/permlink --weight 100 --wait
  4. Verify: Confirm the operation succeeded via returned transaction ID or by querying the updated state hive content author permlink # Verify post appeared

Quick Start

hive config                    # Interactive configuration
hive status                    # Check configuration status
hive account peakd             # Query an account
hive vote --url https://peakd.com/@author/permlink --weight 100

Common Use Cases

Post a new article

hive publish --permlink my-article --title "My Title" --body "Content here" --tags "hive,development" --wait
hive content your-account my-article  # Verify it appeared

Reply to a post

hive reply author permlink --body "Great post!" --wait

Vote on content

hive vote --url https://peakd.com/@author/permlink --weight 100 --wait

Transfer HIVE

hive transfer --to recipient --amount "1.000 HIVE" --memo "Thanks!" --wait

Claim rewards

hive claim --wait

Authentication & Keys

  • Posting key: publish/reply/edit/delete-comment/vote/follow/community subscribe/reblog/claim/custom-json(basic)/upload
  • Active key: transfer/delegate/profile update/custom-json with --required-active, and raw active broadcasts
  • Keys stored in ~/.hive-tx-cli/config.json with 600 permissions
  • Environment variables override config values
hive config                    # Interactive setup
hive config --show             # Show current configuration
hive config --clear            # Clear all configuration
hive config set account <name>
hive config set postingKey <private-key>
hive config set activeKey <private-key>
hive config set node <url>
hive config get account

Environment Variables

export HIVE_ACCOUNT="your-username"
export HIVE_POSTING_KEY="your-posting-private-key"
export HIVE_ACTIVE_KEY="your-active-private-key"
export HIVE_JSON_OUTPUT=1      # Machine-friendly output + spinner disabled

Guardrails & Warnings

⚠️ Active Key Operations: Commands using --required-active or the active key can transfer funds or modify account settings. These operations are irreversible.
⚠️ Transfer Risks: Hive transfers cannot be reversed. Always verify the recipient address and amount before executing.
⚠️ Memo Privacy: Memos are publicly visible on the blockchain. Do not include sensitive information in memos.
⚠️ Key Exposure: Never commit private keys to version control. Use environment variables or a secure config file with 600 permissions.
⚠️ Resource Credits (RC): Broadcasting operations consumes RC. Ensure sufficient RC before bulk operations. Check with hive rc <account>.

Pre-flight Checklist

Before broadcasting any operation:

  • Account name is correct (check with hive account <name>)
  • Key type matches operation (posting vs active)
  • Sufficient RC: hive rc <account> shows > 0
  • Amounts/memos verified (transfers cannot be undone)
  • Using --wait for commands that support it

Query Commands

# Account/state
hive account <username>
hive balance <username>
hive rc <username>
hive props
hive block <number>

# Content (author/permlink or URL)
hive content <author> <permlink>
hive content https://peakd.com/@author/permlink
hive replies <author> <permlink>
hive replies https://peakd.com/@author/permlink
hive feed <account> --limit 10

# Raw API
hive call database_api get_accounts '[["username"]]'
hive call condenser_api get_content_replies '["author","permlink"]' --raw

Broadcast Commands

Publish, Reply, Edit, Delete

hive publish --permlink my-post --title "My Post" --body "Body" --tags "hive,cli"
hive publish --permlink my-post --title "My Post" --body-file ./post.md --metadata '{"app":"hive-tx-cli"}'
hive publish --permlink my-reply --title "Re" --body "Reply" --parent-url https://peakd.com/@author/permlink
hive publish --permlink my-post --title "My Post" --body "Body" --burn-rewards
hive publish --permlink my-post --title "My Post" --body "Body" --beneficiaries '[{"account":"foo","weight":1000}]'

hive reply <parent-author> <parent-permlink> --body "Nice post" --wait
hive edit <author> <permlink> --body-file ./updated.md --tags "hive,update"
hive delete-comment --url https://peakd.com/@author/permlink --wait

Notes:

  • publish aliases: post, comment
  • publish requires --title; use reply for standard replies
  • --wait is available on supported commands to wait for tx confirmation

Post Metadata

The --metadata option accepts a JSON string with post metadata. All fields are optional.

Schema:

  • app: Application identifier (e.g., "hive-tx-cli/2026.1.1")
  • description: Short summary of the post content
  • image: Array of image URLs for the post thumbnail
  • tags: Array of post tags (should match --tags)
  • users: Array of mentioned usernames
  • ai_tools: Object indicating AI involvement in creating content

- writing_edit: AI assisted with writing/editing - media_generation: AI generated images/media - research: AI assisted with research - translation: AI performed translation - post_draft: AI helped draft the post - other: Other AI assistance

Guidelines:

  • Set app to the tool you're using
  • Include a description summarizing the post (1-2 sentences)
  • Add image URLs when the post contains images
  • If the post was created with AI assistance, set appropriate ai_tools flags to true

Example:

hive post --permlink my-post --title "My Post" --body "Content" --tags "hive,ai" \
  --metadata '{"app":"hive-tx-cli/2026.1.1","description":"A post about Hive and AI tools","image":["https://example.com/image.jpg"],"ai_tools":{"writing_edit":true}}'

Vote, Transfer, Custom JSON, Raw

hive vote --url https://peakd.com/@author/permlink --weight 100 --wait
hive transfer --to <recipient> --amount "1.000 HIVE" --memo "Thanks" --wait
hive custom-json --id <app-id> --json '{"key":"value"}'
hive custom-json --id <app-id> --json '{"key":"value"}' --required-active myaccount --wait
hive broadcast '[{"type":"vote","value":{"voter":"me","author":"you","permlink":"post","weight":10000}}]' --key-type posting --wait

Social and Community

hive follow <account>
hive unfollow <account>
hive mute <account>
hive unmute <account>
hive reblog --author <author> --permlink <permlink>

hive community search peakd
hive community info hive-12345
hive community subscribers hive-12345
hive community subscribe hive-12345
hive community unsubscribe hive-12345

Rewards and Profile

hive claim
hive delegate <account> "100 HP"
hive profile update --name "My Name" --about "Hive user" --location "Earth"

Global Options

hive --account myaccount vote --author author --permlink permlink --weight 100
hive --node https://api.hive.blog account peakd

Image Uploads

If possible, resize/compress large images before upload.

hive upload --file ./path/to/image.jpg
hive upload --file ./image.png --host https://images.ecency.com

Returns JSON with the uploaded URL.

Output Contract

When HIVE_JSON_OUTPUT=1 is set, commands return machine-friendly JSON output.

Success Output

{
  "success": true,
  "data": { ... },
  "txId": "abc123..."
}

Error Output

{
  "success": false,
  "error": "Error message",
  "code": "ERROR_CODE"
}

Stderr Conditions

  • Warnings and informational messages may be printed to stderr
  • Progress spinners are disabled in JSON mode

Troubleshooting

Common Errors

ErrorCauseResolution
Invalid key or Auth errorWrong key type for operationPosting key for publish/vote/follow; Active key for transfers
Insufficient RCNot enough Resource CreditsWait for RC regeneration or delegate HP
Transaction expiredNode timing issueRetry with --wait or switch nodes
Account does not existTypo in usernameVerify account name with hive account <name>

Recovery Steps

  1. Auth failures: Verify keys with hive status, check key type matches operation
  2. Broadcast uncertainty: Always use --wait to wait for tx confirmation
  3. RC exhaustion: Check with hive rc <account>, delegate from account with HP

Node connection issues

  • Try different node: hive config set node https://api.hiveworks.com
  • Check network connectivity

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.93%
按下载量换算20

Claude

31.95%
按下载量换算19

Cursor

20.96%
按下载量换算12

Gemini CLI

10.38%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills