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

nsytensyte 搜索

Agent Skill

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

总安装

190

周安装

8

GitHub Stars

19

下载量

67
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sandwichfarm/nsyte --skill nsyte

简介

nsyte 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于根据关键词或任务场景从来源中获取信息的场景。
  • 通过 npx skills add 命令安装,建议查看原始 README 掌握用法。
  • 使用前需确认权限与维护状态,避免触发联网或文件操作。
  • nsyte 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

nsyte — Decentralized Static Site Deployment

nsyte is a Deno-based CLI that publishes static websites to the Nostr network using Blossom servers for file storage. Sites are content-addressed (SHA-256), censorship-resistant, and discoverable via Nostr relays.

Key concepts: For Nostr/Blossom domain knowledge (relays, pubkeys, nsec, NIP-46, events), see references/nostr-concepts.md.


Installation

Check if installed

nsyte --version

If this prints a version string, skip to Project Setup.

Linux / macOS (recommended — no Deno required)

curl -fsSL https://nsyte.run/get/install.sh | bash

Installs to /usr/local/bin/nsyte. Use sudo if that directory is not writable.

Linux / macOS (alternative — requires Deno 2.x)

deno install -A -f -g -n nsyte jsr:@nsyte/cli

Windows

Download the latest binary from https://github.com/sandwichfarm/nsyte/releases, place in %USERPROFILE%\bin\, and add that directory to PATH.

Troubleshooting installation

  • Command not found: Add /usr/local/bin to PATH in ~/.bashrc or ~/.zshrc and reload.
  • Permission denied: Use sudo for the curl install, or install to a user-writable location.
  • Deno version too old: Run deno upgrade or use the binary install instead.

Project Setup

cd /path/to/your/project
nsyte init

Interactive prompts ask for:

  1. Auth method — generate new key, enter existing nsec/hex key, or connect NIP-46 bunker
  2. Relay URLs — one or more wss:// relay WebSocket URLs
  3. Blossom server URLs — one or more https:// Blossom server URLs

On success, creates .nsite/config.json. See Configuration for the schema.


Configuration

Config file: .nsite/config.json

For the full JSON Schema, see assets/config.schema.json.

Required fields

FieldTypeDescription
relaysstring[]Nostr relay URLs (wss://), unique items
serversstring[]Blossom server URLs (https://), unique items

Authentication

FieldTypeDescription
bunkerPubkeystring64-char hex pubkey for NIP-46 bunker. Pattern: ^[0-9a-fA-F]{64}$. Always set via nsyte bunker use, never manually.

Site identity

FieldTypeDefaultDescription
id`string \null`nullnull/empty = root site (kind 15128). Non-empty = named site (kind 35128)
titlestringSite title for manifest event
descriptionstringSite description for manifest event
fallbackstring404 fallback HTML path (e.g., /index.html for SPAs)

Publishing flags (root sites only — id must be null/empty)

FieldTypeDescription
publishProfilebooleanPublish kind 0 profile metadata. Requires non-empty profile object
publishRelayListbooleanPublish kind 10002 relay list
publishServerListbooleanPublish kind 10063 Blossom server list
publishAppHandlerbooleanPublish NIP-89 handler. Requires appHandler with kinds

Optional objects

FieldTypeDescription
profileobjectNostr profile: name, display_name, about, picture, banner, website, nip05, lud16, lud06
appHandlerobjectNIP-89 config: kinds (required), id, name, description, icon, platforms
gatewayHostnamesstring[]Gateway hostnames (default: ["nsite.lol"])

Example configs

Minimal (root site):

{
  "relays": ["wss://relay.damus.io", "wss://nos.lol"],
  "servers": ["https://cdn.hzrd149.com"]
}

Named site (blog):

{
  "relays": ["wss://relay.damus.io"],
  "servers": ["https://cdn.hzrd149.com"],
  "id": "blog",
  "title": "My Blog",
  "description": "A blog about decentralized applications"
}

With profile publishing:

{
  "relays": ["wss://relay.damus.io", "wss://nos.lol"],
  "servers": ["https://cdn.hzrd149.com"],
  "publishProfile": true,
  "publishRelayList": true,
  "publishServerList": true,
  "profile": {
    "name": "Alice",
    "display_name": "Alice",
    "about": "Decentralization enthusiast",
    "picture": "https://example.com/avatar.jpg",
    "nip05": "alice@example.com",
    "lud16": "alice@getalby.com"
  }
}

With NIP-89 app handler:

{
  "relays": ["wss://relay.damus.io"],
  "servers": ["https://cdn.hzrd149.com"],
  "publishAppHandler": true,
  "appHandler": {
    "kinds": [1, 30023],
    "name": "My Nostr Viewer",
    "description": "A viewer for notes and articles",
    "icon": "https://example.com/logo.png"
  }
}

Interactive config editor

nsyte config

Requires an interactive terminal. Keys: / navigate, Enter edit, s save, r reset, q quit.

For non-interactive contexts, edit .nsite/config.json directly and validate:

nsyte validate

Authentication

NIP-46 Bunker (recommended)

Connect via QR code

nsyte bunker connect

Choose "Scan QR Code", enter a relay URL, scan with signer app (Amber, nsec.app), approve.

Connect via bunker URL

nsyte bunker connect 'bunker://pubkey?relay=wss://relay.example.com&secret=xxx'

CRITICAL: Always single-quote the URL — ? and & are shell metacharacters.

Link bunker to project

nsyte bunker use [pubkey]

Sets bunkerPubkey in config and stores nbunksec in OS keychain. Never manually edit bunkerPubkey.

Bunker management commands

CommandPurpose
nsyte bunker connectConnect interactively (QR or URL)
nsyte bunker connect '<url>'Connect via bunker URL
nsyte bunker import nbunksec1...Import existing nbunksec
nsyte bunker export [pubkey]Export stored bunker as nbunksec
nsyte bunker listList stored bunkers
nsyte bunker use [pubkey]Set project to use a bunker
nsyte bunker remove [pubkey]Remove a bunker from storage
nsyte bunker migrate [pubkeys...]Rebuild keychain index

Secrets storage

nsyte auto-selects the best backend:

  1. macOS: Keychain
  2. Linux: Secret Service (fallback: encrypted file)
  3. Windows: Credential Manager (fallback: encrypted file)

Override with NSYTE_FORCE_ENCRYPTED_STORAGE=true.


Deployment

Basic deploy

nsyte deploy ./dist

Auth resolution order

  1. --sec flag (highest priority): nsyte deploy./dist --sec "nsec1..." nsyte deploy./dist --sec "${NBUNK_SECRET}" Auto-detects format: nsec1..., nbunksec1..., bunker://..., or 64-char hex.
  2. Stored bunker from .nsite/config.json bunkerPubkey + OS keychain.
  3. If neither available, nsyte exits with an error.

Common flags

FlagPurpose
--sec <value>Provide signing key/credential
--forceRe-upload all files (skip diff)
--fallback=/index.htmlSPA fallback for 404s
--non-interactiveCI mode — no prompts, fail fast

Interpreting output

  • Full success: {N} files uploaded successfully ({size}) — all files to all servers
  • Partial success: {uploaded}/{total} files uploaded — some servers failed
  • Total failure: Failed to upload any files — check relay/server/auth errors

Gateway URL printed after deploy: https://{npub}.nsite.lol/


CI/CD

Step 1: Generate CI credential (one-time, on dev machine)

nsyte ci
# or with bunker URL:
nsyte ci 'bunker://pubkey?relay=wss://relay.example.com&secret=xxx'

The nbunksec1... string is printed once and never stored. Copy it immediately and save as a CI secret.

Step 2: Deploy in pipeline

nsyte deploy ./dist --non-interactive --sec "${NBUNK_SECRET}"

CRITICAL: Use --sec (not --nbunksec).

GitHub Actions example

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: denoland/setup-deno@v1
      - run: nsyte deploy ./dist --non-interactive --sec "${{ secrets.NBUNK_SECRET }}"

CI checklist

  • .nsite/config.json committed or provided as artifact
  • NBUNK_SECRET secret set to nbunksec1... string
  • --non-interactive flag present
  • Optionally run nsyte validate before deploy

Other Commands

CommandPurpose
nsyte lsList published files
nsyte browseInteractive TUI file browser with relay/server propagation tracking
nsyte download <dir>Download published files
nsyte serve -d <dir>Local dev server
nsyte runStart resolver server with npub subdomains
nsyte debug <npub>Debug nsite setup (relays, servers, integrity)
nsyte validateValidate config (exit 0 = valid, 1 = invalid)
nsyte purgeRemove published files from relays/servers
nsyte sitesList available sites (root + named)

Troubleshooting

Auth errors

  • "No valid signing method": Provide --sec or configure bunker via nsyte bunker use.
  • "No stored credential": bunkerPubkey set in config but keychain entry missing. Fix: nsyte bunker use [pubkey].
  • Bunker URL rejected: Shell ate metacharacters. Use single quotes: 'bunker://...'.

Deploy errors

  • Relay issues: Check relays array in config has valid wss:// URLs. Try --use-fallback-relays.
  • Blossom server rejection: Check servers array. Try adding a different server via nsyte config.
  • Config missing: Run nsyte init first.

Config errors

  • "Config editor requires interactive terminal": Edit JSON directly + nsyte validate.
  • Validation fails: Common causes: malformed URLs, publishAppHandler: true without appHandler.kinds, publish* on named site.
  • bunkerPubkey format: Must be 64 hex chars, not npub. Always use nsyte bunker use.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.75%
按下载量换算23

Claude

33.06%
按下载量换算22

Cursor

20.12%
按下载量换算13

Gemini CLI

9.36%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills