Token导航 LogoToken导航

Agent Skill · 研究检索

station(station 搜索)

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

station 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 65,084。

总安装 288周安装 12GitHub Stars 1下载 96核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/porkytheblack/station --skill station

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

station 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。它可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装方式:github,命令为 npx skills add https://github.com/porkytheblack/station --skill station。当前分类为研究检索,适用宿主包括 Codex、Claude、Cursor、Gemini CLI。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

来源仓库内路径:skills/station

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/porkytheblack/station --skill station;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

station 怎么安装?

在终端执行 npx skills add https://github.com/porkytheblack/station --skill station。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

station 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

station 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

station 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

station 用的人多吗?

公开数据是累计安装 288 次,近一周安装 12 次,下载 96 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

station 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
station

station 搜索 · 本页

2881需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Station Task Expert

You are an expert Station developer specializing in building type-safe background job systems and DAG workflows.

Critical Rules

  1. Always import signal and z from station-signal - The z export is re-exported from Zod. Never install or import zod separately.
  2. Always use .run() for single-handler signals, .step() + .build() for multi-step signals - Never mix these patterns. .run() returns a signal directly; .step() returns a StepBuilder that must be finalized with .build().
  3. Always export signals and broadcasts from their files - The runner uses auto-discovery via import() and scans Object.values(mod) for branded signal/broadcast objects.
  4. Use .js extension in import paths - Even when importing .ts files. This is required for ESM resolution with Node.js.
  5. Never use new MysqlAdapter() or new BroadcastMysqlAdapter() - These constructors are private. Always use the static MysqlAdapter.create() / BroadcastMysqlAdapter.create() factory methods (async).
  6. Broadcast adapters use subpath imports - Import from station-adapter-sqlite/broadcast, station-adapter-postgres/broadcast, station-adapter-mysql/broadcast, or station-adapter-redis/broadcast.
  7. Always shut down broadcast runner before signal runner - Broadcast runner queries the signal adapter's database during shutdown. Stopping signal first closes the DB connection.
  8. .retries(n) sets retry count, not total attempts - .retries(2) means 3 total attempts (1 initial + 2 retries). Internally stored as maxAttempts = n + 1.
  9. pnpm 10+ requires onlyBuiltDependencies for SQLite - better-sqlite3 needs a native build step that pnpm 10 blocks by default. Add "pnpm": {"onlyBuiltDependencies": ["better-sqlite3"]} to the consumer's package.json, then reinstall.
  10. .trigger() returns immediately with a run ID - It does not wait for execution. Use runner.waitForRun(id) to block until completion.
  11. Zod v4 gotcha: never use .default({}) on objects with default fields - Use plain TypeScript defaults instead. Zod v4 internals: schema._zod.def.type (not _def.typeName).
  12. station deploy bundles to JS — shared imports are resolved automatically. Signals/broadcasts can import from ../lib/, ../shared/, etc. These are bundled into shared chunks by esbuild. No need to configure includes for imported code — only use deploy.include for non-JS assets.
  13. Use station-tauri for desktop apps — Do not use station-kit or defineConfig for Tauri/desktop integration. Use createTauriStation() from station-tauri instead. It runs localhost-only with no dashboard UI and auto-provisions API keys.

Signal Pattern

import { signal, z } from "station-signal";

export const sendEmail = signal("send-email")
  .input(z.object({
    to: z.string(),
    subject: z.string(),
    body: z.string(),
  }))
  .timeout(30_000)
  .retries(2)
  .run(async (input) => {
    await mailer.send(input);
  });

Signal with Output

export const processImage = signal("process-image")
  .input(z.object({ url: z.string() }))
  .output(z.object({ thumbnailUrl: z.string(), width: z.number(), height: z.number() }))
  .run(async (input) => {
    const result = await sharp(input.url).resize(200).toBuffer();
    return { thumbnailUrl: uploadBuffer(result), width: 200, height: 200 };
  });

Multi-Step Signal

export const processOrder = signal("process-order")
  .input(z.object({ orderId: z.string(), amount: z.number() }))
  .step("validate", async (input) => {
    if (input.amount <= 0) throw new Error("Invalid amount");
    return { ...input, validated: true };
  })
  .step("charge", async (prev) => {
    const chargeId = await payments.charge(prev.amount);
    return { orderId: prev.orderId, chargeId };
  })
  .step("notify", async (prev) => {
    await notify(`Order ${prev.orderId} charged: ${prev.chargeId}`);
  })
  .build();

Recurring Signal

export const healthCheck = signal("health-check")
  .every("5m")
  .timeout(10_000)
  .retries(1)
  .run(async () => {
    const res = await fetch("https://api.example.com/health");
    if (!res.ok) throw new Error(`Health check failed: ${res.status}`);
  });

Signal with onComplete Hook

export const ingestData = signal("ingest-data")
  .input(z.object({ source: z.string() }))
  .output(z.object({ rowCount: z.number() }))
  .run(async (input) => {
    const rows = await ingest(input.source);
    return { rowCount: rows.length };
  })
  .onComplete(async (output, input) => {
    await audit.log(`Ingested ${output.rowCount} rows from ${input.source}`);
  });

Triggering Signals

// From application code
import { sendEmail } from "./signals/send-email.js";

const runId = await sendEmail.trigger({
  to: "user@example.com",
  subject: "Welcome",
  body: "Thanks for signing up.",
});

// Wait for completion (in tests or orchestration)
const run = await runner.waitForRun(runId, { timeoutMs: 30_000 });

Broadcast Pattern (DAG Workflow)

import { broadcast } from "station-broadcast";
import { checkout } from "../signals/checkout.js";
import { lint } from "../signals/lint.js";
import { test } from "../signals/test.js";
import { build } from "../signals/build.js";
import { deploy } from "../signals/deploy.js";

export const ciPipeline = broadcast("ci-pipeline")
  .input(checkout)
  .then(lint, test)              // parallel after checkout
  .then(build)                   // waits for lint + test
  .then(deploy)                  // waits for build
  .onFailure("fail-fast")
  .timeout(300_000)
  .build();

Broadcast with Node Options

export const pipeline = broadcast("etl-pipeline")
  .input(extract)
  .then(transform, {
    map: (upstream) => ({ records: upstream.extract }),
    when: (upstream) => upstream.extract != null,
  })
  .then(load, {
    after: ["transform"],
    map: (upstream) => upstream.transform,
  })
  .onFailure("skip-downstream")
  .build();

Runner Setup

import path from "node:path";
import { SignalRunner, ConsoleSubscriber } from "station-signal";
import { BroadcastRunner } from "station-broadcast";
import { ConsoleBroadcastSubscriber } from "station-broadcast";
import { SqliteAdapter } from "station-adapter-sqlite";
import { BroadcastSqliteAdapter } from "station-adapter-sqlite/broadcast";

const adapter = new SqliteAdapter({ dbPath: "./jobs.db" });

const signalRunner = new SignalRunner({
  signalsDir: path.join(import.meta.dirname, "signals"),
  adapter,
  subscribers: [new ConsoleSubscriber()],
});

const broadcastRunner = new BroadcastRunner({
  signalRunner,
  broadcastsDir: path.join(import.meta.dirname, "broadcasts"),
  adapter: new BroadcastSqliteAdapter({ dbPath: "./jobs.db" }),
  subscribers: [new ConsoleBroadcastSubscriber()],
});

await signalRunner.start();
await broadcastRunner.start();

// Graceful shutdown (broadcast stops first)
process.on("SIGINT", async () => {
  await broadcastRunner.stop({ graceful: true, timeoutMs: 10_000 });
  await signalRunner.stop({ graceful: true, timeoutMs: 10_000 });
});

Signal Adapter Reference

AdapterPackageConstructor
In-memory(built-in)new MemoryAdapter()
SQLitestation-adapter-sqlitenew SqliteAdapter({dbPath: "./jobs.db"})
PostgreSQLstation-adapter-postgresnew PostgresAdapter({connectionString: "..."})
MySQLstation-adapter-mysqlawait MysqlAdapter.create({connectionString: "..."})
Redisstation-adapter-redisnew RedisAdapter({url: "redis://localhost:6379"})

Broadcast Adapter Reference

AdapterImport pathConstructor
In-memory(built-in)new BroadcastMemoryAdapter()
SQLitestation-adapter-sqlite/broadcastnew BroadcastSqliteAdapter({dbPath: "./jobs.db"})
PostgreSQLstation-adapter-postgres/broadcastnew BroadcastPostgresAdapter({connectionString: "..."})
MySQLstation-adapter-mysql/broadcastawait BroadcastMysqlAdapter.create({connectionString: "..."})
Redisstation-adapter-redis/broadcastnew BroadcastRedisAdapter({url: "redis://localhost:6379"})

Remote Triggers

import { configure } from "station-signal";

// Option 1: Explicit configuration
configure({
  endpoint: "https://station.example.com",
  apiKey: "sk_live_...",
});

// Option 2: Environment variables (auto-detected)
// STATION_ENDPOINT=https://station.example.com
// STATION_API_KEY=sk_live_...

// All .trigger() calls now go to the remote Station server
await sendEmail.trigger({ to: "user@example.com", subject: "Hello", body: "Hi" });

Dashboard Setup (station-kit)

// station.config.ts
import { defineConfig } from "station-kit";
import { SqliteAdapter } from "station-adapter-sqlite";
import { BroadcastSqliteAdapter } from "station-adapter-sqlite/broadcast";

export default defineConfig({
  port: 4400,
  signalsDir: "./signals",
  broadcastsDir: "./broadcasts",
  adapter: new SqliteAdapter({ dbPath: "./jobs.db" }),
  broadcastAdapter: new BroadcastSqliteAdapter({ dbPath: "./jobs.db" }),
  auth: { username: "admin", password: "changeme" },
});

Then run: npx station

Deploy: npx station deploy — generates a production bundle in .station/out/

Deployment

station deploy

Bundles signals, broadcasts, and config into a self-contained deploy directory using esbuild.

npx station deploy

What it does:

  1. Discovers all .ts/.js files in signalsDir and broadcastsDir
  2. Bundles each as an esbuild entry point with code splitting (shared imports become chunk files)
  3. Externalizes npm packages (installed via npm install at deploy time)
  4. Resolves workspace:* to ^{version} for monorepo dependencies
  5. Generates production package.json, Dockerfile, nixpacks.toml, .dockerignore, .gitignore
  6. Copies deploy.include entries (non-JS assets)

Output: .station/out/ — ready to deploy to any Docker-based platform.

Environment variables

Set these in your deployment platform. They override config values at runtime.

VariableOverridesDescription
STATION_AUTH_USERNAMEauth.usernameDashboard login username
STATION_AUTH_PASSWORDauth.passwordDashboard login password
PORTportServer port
HOSThostServer bind address

If auth is not set in config but both STATION_AUTH_USERNAME and STATION_AUTH_PASSWORD are set, auth is enabled automatically.

deploy.include

For non-JS assets that can't be discovered via imports:

export default defineConfig({
  deploy: {
    include: ["migrations/", "templates/email.html"],
  },
});

Docker deployment

npx station deploy
docker build -t my-app .station/out
docker run -p 4400:4400 \
  -e STATION_AUTH_USERNAME=admin \
  -e STATION_AUTH_PASSWORD=secret \
  my-app

Signal Builder Methods

MethodDescription
.input(schema)Zod schema for job payload
.output(schema)Zod schema for return value
.timeout(ms)Max execution time (default: 300000)
.retries(n)Retry attempts after failure (default: 0)
.concurrency(n)Max concurrent runs for this signal
.every(interval)Recurring schedule: "30s", "5m", "1h", "1d"
.withInput(data)Default input for recurring signals
.run(handler)Single handler function (returns signal)
.step(name, fn)Add pipeline step (returns StepBuilder)
.build()Finalize multi-step signal (on StepBuilder)
.onComplete(fn)Post-completion hook (on signal or StepBuilder)

Broadcast Builder Methods

MethodDescription
.input(signal)Root signal (entry point of the DAG)
.then(...signals)Add parallel tier (all run after previous tier)
.then(signal, {as, after, map, when})Add signal with routing options
.onFailure(policy)"fail-fast", "skip-downstream", "continue"
.timeout(ms)Broadcast-level timeout
.every(interval)Recurring broadcast schedule
.withInput(data)Default recurring input
.build()Finalize broadcast definition

Subscriber Interfaces

Signal subscribers implement any subset of: onSignalDiscovered, onRunDispatched, onRunStarted, onRunCompleted, onRunTimeout, onRunRetry, onRunFailed, onRunCancelled, onRunSkipped, onRunRescheduled, onStepStarted, onStepCompleted, onStepFailed, onCompleteError, onLogOutput

Broadcast subscribers implement any subset of: onBroadcastDiscovered, onBroadcastQueued, onBroadcastStarted, onBroadcastCompleted, onBroadcastFailed, onBroadcastCancelled, onNodeTriggered, onNodeCompleted, onNodeFailed, onNodeSkipped

Tauri Sidecar (station-tauri)

For running Station as a desktop app sidecar via Tauri v2.

import { createTauriStation } from "station-tauri";

const station = await createTauriStation({
  dataDir: "/path/to/app/data",
  signalsDir: "./signals",
  broadcastsDir: "./broadcasts",
  port: 4400,
});

// station.port — bound port
// station.apiKey — auto-provisioned API key
// station.keyStore — key store instance
// station.dataDir — resolved data directory
await station.stop();

Standalone sidecar entry point (station-sidecar bin) outputs JSON to stdout on startup:

{"event":"ready","port":4400,"apiKey":"sk_live_..."}

Environment variables for the sidecar:

VariableRequiredDescription
STATION_DATA_DIRYesData directory for DB and key file
STATION_PORTNoServer port (default: 4400)
STATION_SIGNALS_DIRNoSignals directory
STATION_BROADCASTS_DIRNoBroadcasts directory

Design Principles

  1. One signal per file -- auto-discovery expects exported signal objects from each file in signalsDir.
  2. Use Zod schemas for all inputs -- validation runs before execution and before remote dispatch.
  3. Keep handlers focused -- extract shared logic into utility functions, not signal handlers.
  4. Use steps for pipelines where each stage transforms data and passes it forward.
  5. Use broadcasts for fan-out/fan-in workflows composed of independent signals.
  6. Configure retries for anything that touches external services or networks.
  7. Use subscribers for cross-cutting concerns: logging, metrics, alerting, webhooks.
  8. Shut down broadcast runner before signal runner -- broadcast queries the signal DB during teardown.
  9. Signal names must start with a letter and contain only letters, digits, hyphens, and underscores.
  10. The runner registry is private (this.registry: Map). Access via (runner as any).registry for testing only.

Reference Documentation

  • api-reference.md - Complete API for all packages: types, interfaces, runner options
  • examples.md - Full working examples: ETL pipelines, CI workflows, monitoring, e-commerce, Tauri desktop

平台分布

Codex

35%
按下载量换算34

Claude

30.61%
按下载量换算29

Cursor

16.45%
按下载量换算16

Gemini CLI

8.68%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills