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

fastlikefastlike 命令行

Agent Skill

fastlike 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

424

周安装

17

GitHub Stars

21

下载量

137
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/fastly/fastly-agent-toolkit --skill fastlike

简介

fastlike 提供 Fastly Compute 平台内部机制与运行时行为的深度技术解析能力。

  • 适用于在 Codex、Claude、Cursor、Gemini CLI 中理解 Compute@Edge、WASM 执行及请求生命周期。
  • 覆盖缓存、KV 存储、速率限制、地理定位等核心原语的工作原理与使用边界。
  • 不适用于 VCL 配置或 CDN 对比分析,相关功能请使用 falco 或 fastly-cli 技能。
  • 调用时需明确区分平台内部机制查询与外部 API 操作,避免混淆不同工具职责。

SKILL.md

Trigger and scope

Trigger on: Fastly Compute, Compute@Edge, WASM on Fastly, fastlike, XQD ABI, Compute request lifecycle, 508 loop detection, backend subrequests, body streaming, embedding a Fastly Compute runtime in Go code, or any question about how Compute platform primitives work internally (caching, KV stores, edge rate limiting, ACLs, geolocation, secret stores, config stores, dictionaries, logging, dynamic backends, request collapsing, async I/O).

Do NOT use for: Fastly VCL (use falco), Fastly CLI/API (use fastly-cli or fastly), Viceroy, CDN comparison, WAF, Terraform, cache purging via API, or Fastly logging/stats configuration.

Fastlike — Local Compute Runtime & Reference

Fastlike is a Go implementation of the Fastly Compute ABI. It runs compiled WebAssembly programs locally, implementing the same 249+ host functions that Fastly's production Compute platform provides: backends, dictionaries, KV stores, caching, geolocation, rate limiting, ACLs, secret stores, and more.

Equally important, the fastlike source code is the most complete programmatic specification of how Fastly Compute works — its ABI implementations document every platform primitive, request lifecycle detail, and data structure as executable code.

Fastlike documentation: https://github.com/avidal/fastlike

Source Code as Compute Reference

When you have access to the fastlike source code locally (default: ~/src/fastlike), use these paths to answer specific Compute questions:

QuestionRead This FileWhy
"How does the request lifecycle work?"instance.go, xqd_http_downstream.goPer-request setup, execution, downstream handling
"What ABI functions exist for X?"xqd_*.go filesEach file implements a group of related ABI functions
"How do backend subrequests work?"xqd_backend.go, backend.goRequest sending, dynamic backends, timeouts
"How does caching work?"xqd_cache.go, xqd_http_cache.go, cache.goCache operations, Vary, surrogate keys, request collapsing
"How does KV store work?"xqd_kv_store.go, kv_store.goCRUD operations, pagination, generation-based concurrency
"How does rate limiting work?"xqd_erl.go, erl.goRate counters, penalty boxes, threshold checks
"How do ACLs work?"xqd_acl.go, acl.goCIDR-based IP filtering, most-specific match
"What configuration options exist?"options.goEvery With* functional option for the runtime
"What error codes can operations return?"constants.goAll XQD status codes and error types

For a comprehensive guide, see understanding-compute-from-source.md.

Install from Source

Requires Go 1.23+.

# Clone and build
git clone https://github.com/avidal/fastlike.git ~/src/fastlike
cd ~/src/fastlike
make build        # Creates bin/fastlike

# Or install to GOPATH/bin
make install

# Or install directly
go install fastlike.dev/cmd/fastlike@latest

Quick Start

# Minimal: WASM + single backend
bin/fastlike -wasm app.wasm -backend localhost:8000

Fastlike vs Viceroy

FeatureFastlikeViceroy
LanguageGoRust
GeolocationCustom JSON file (-geo)Built-in defaults
Hot reloadSIGHUP (-reload)Restart required
Installgo install or make buildcargo install or fastly compute serve
Local backends-backend name=host:port[local_server.backends] in fastly.toml

When to use Fastlike: Non-Rust Compute apps, want custom geo data, need hot reload, debugging. When to use Viceroy: Rust Compute apps with cargo-nextest, Component Model projects, using fastly compute serve.

Common Configurations

With named backends:

bin/fastlike -wasm app.wasm \
  -backend api=api.example.com:8080 \
  -backend cache=redis:6379 \
  -backend localhost:8000

Development mode with hot-reload:

bin/fastlike -wasm app.wasm -backend localhost:8000 -reload -v 2

Send SIGHUP to reload the WASM without restarting.

Full configuration:

bin/fastlike -wasm app.wasm \
  -bind 0.0.0.0:5000 \
  -backend localhost:8000 \
  -dictionary config=./config.json \
  -kv store=./data.json \
  -config-store settings=./settings.json \
  -secret-store secrets=./secrets.json \
  -acl blocklist=./acl.json \
  -logger output=./logs.txt \
  -geo ./geodata.json \
  -compliance-region us-eu \
  -v 2 \
  -reload

Required Flags

FlagDescription
-wasm PATHPath to WebAssembly program (required)
-backend VALUE or -b VALUEBackend server (required, repeatable)

Optional Flags

FlagDefaultDescription
-bind ADDRlocalhost:5000Server bind address
-reloadfalseEnable SIGHUP hot-reload
-v INT0Verbosity (0-2)
-dictionary NAME=FILE or -d-Load dictionary from JSON
-kv NAME[=FILE]-KV store (empty or from JSON)
-config-store NAME=FILE-Config store from JSON
-secret-store NAME=FILE-Secret store from JSON
-acl NAME=FILE-ACL from JSON
-logger NAME[=FILE]-Log endpoint (file or stdout)
-geo FILE-Geolocation JSON file
-compliance-region REGION-Compliance region (none, us-eu, us)

References

TopicFileUse when...
Compute from Sourceunderstanding-compute-from-source.mdUnderstanding Compute internals by reading fastlike's implementation
Backendsbackends.mdSetting up named backends, catch-all backends, microservices routing
Configconfig.mdCreating JSON config files for dictionaries, KV stores, secrets, ACLs, geolocation
Buildbuild.mdBuilding Fastlike from source, running linters, make targets
Testtest.mdRunning Go tests, Fastly Compute ABI spec tests
ABIabi.mdFastly Compute ABI internals, implementing new ABI functions, handle system

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.15%
按下载量换算48

Claude

30%
按下载量换算41

Cursor

18.69%
按下载量换算26

Gemini CLI

10.81%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills