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

fragnofragno 搜索

Agent Skill

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

总安装

776

周安装

33

GitHub Stars

41

下载量

272
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rejot-dev/fragno --skill fragno

简介

fragno 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限和维护状态。
  • 使用前应检查是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 和项目上下文核验具体用法和功能边界。

SKILL.md

Fragno Integration

Note: All file paths referenced in this document are relative to this SKILL.md file.

Overview

Fragno is a framework-agnostic, type-safe full-stack TypeScript toolkit that enables building portable full-stack libraries called "fragments". Fragments include backend routes, (optional) client hooks and (optional) database integration.

Important: Before integrating any first-party fragment, always fetch its docs with curl. Use the same search endpoint to find the right page, then fetch the full Markdown docs:

  • curl -s "https://fragno.dev/api/search?query=forms"
  • curl -L "https://fragno.dev/docs/forms/quickstart" -H "accept: text/markdown"

This skill will aid you to integrate a Fragment into an application. To do this we have to mount the Fragment's backend routes, migrate/generate the database schema, and initialize the client-side hooks.

Example user request

"Integrate the Forms fragment into the application."

In this case you will first start by reading the Forms fragment specific reference file.

High-level Workflow

  1. Install the Fragment
  2. Mount the Fragment's backend routes
  3. Initialize the client-side hooks
  4. (Optionally) Database integration
  5. (Optionally) Setup middleware for Fragment-defined routes (based on the user's authentication system)
  6. (Optionally) Create a custom fetcher for the Fragment (e.g. for authentication headers)
  7. Integrate the Fragment into frontend and backend where it makes sense

Integration Workflow

1. Install the Fragment Package

Install the Fragment package via the user's npm-compatible package manager.

2. Create a Server-Side Fragment Instance

  1. Find the most logical place, usually a central module in the application. If the user is already using Fragments, follow the same patterns.
  2. Find the Fragment's main entrypoint function, e.g. import {createFormsFragment} from "@fragno-dev/forms";
  3. Pass the Fragment-specific config (API keys, callbacks, etc.)
  4. Determine if the Fragment needs a database: this is the case when the main function requires a DatabaseAdapter parameter.

3. Initialize the Database (If Required)

  1. Determine the user's database system (should be any of the following, otherwise tell the user that installation WILL NOT be possible):

- PostgreSQL (or PGLite), MySQL, SQLite (or Cloudflare Durable Objects) - Kysely, Drizzle, Prisma, (or no ORM)

  1. Install @fragno-dev/db and @fragno-dev/cli.
  2. Create a databaseAdapter in a central place.

1. Import Dialect from @fragno-dev/db/dialects 2. Import DriverConfig from @fragno-dev/db/drivers

  1. Determine the method of migration generation:

- For Drizzle and Prisma, schemas can be generated for use with the ORM's own migration tool. - For Kysely or no ORM, SQL migrations can be generated for use with the Fragno CLI.

  1. Use the Fragno CLI to generate the schema file or migrations: (note that input can be more than one file)

- npx fragno-cli db generate lib/comment-fragment-server.ts --output migrations/001.sql - npx fragno-cli db generate lib/comment-fragment-server.ts --format drizzle --output schema/fragno-schema.ts - npx fragno-cli db generate lib/comment-fragment-server.ts --format prisma --output prisma/schema/fragno.prisma

  1. Integrate the schema with the ORM (e.g. by updating the Drizzle config)

4. Mount the Fragment's Backend Routes

Fragment's use web standard Request/Response objects, so they can be mounted in any framework that supports them. There is also the framework-specific handlersFor function.

  1. Determine what the Fragment's mount route is. The default is usually /api/${fragmentName}.
  2. Determine the framework-specific way to mount the backend routes in the right location (example below)

Next.js example:

// This uses the Next.js file-based routing pattern.
import { createExampleFragmentInstance } from "@/lib/example-fragment-server";

const exampleFragment = createExampleFragmentInstance();
export const { GET, POST, PUT, PATCH, DELETE } = exampleFragment.handlersFor("next-js");

React Router v7 (Remix) example:

import type { Route } from "./+types/example-fragment";
import { createExampleFragmentInstance } from "@/lib/example-fragment-server";

export async function loader({ request }: Route.LoaderArgs) {
  return await createExampleFragmentInstance().handler(request);
}

export async function action({ request }: Route.ActionArgs) {
  return await createExampleFragmentInstance().handler(request);
}

For Node.js (Express/Node.js) a separate package is required: @fragno-dev/node.

5. Create a Client-Side Integration

  1. Create a client-side integration module in a central location.
  2. Import the client creator from the fragment's framework-specific export (e.g. /react, /vue, /svelte, /solid, /vanilla).
  3. If the backend routes are mounted on a non-default path, pass mountRoute to the client creator: ... export const exampleFragment = createExampleFragmentClient({baseUrl: "/", mountRoute: "/custom/api/example-fragment",});
  4. Use the fragment hooks/composables in UI components.

6. Optional steps

  1. Create Fragno Fragment-specific route middleware to implement authentication (or other features). See ./references/middleware.md.
  2. Create a custom fetcher for the Fragment (e.g. for authentication headers). See ./references/client-customization.md.
  3. Configure a durable hooks dispatcher for fragments that use durable hooks (background retries, scheduled hooks). See ./references/dispatchers.md.

7. Present options to user

  • Determine what frontend hooks are available
  • Determine what backend routes are available
  • Determine what service methods are available

Present these to the user to come up with a plan for further deep integration into their application.

First-party Fragments (FP)

Use these fragments when you need their domain-specific features. Always curl the fragment docs before wiring anything.

Auth (@fragno-dev/auth)

Definition: Minimal email/password auth with session cookies and DB-backed users/sessions.

Use when: you need a simple, self-hosted auth flow (sign-up/sign-in/sign-out, session, roles) and can store credentials in your database.

Reference: ./references/first-party-fragments/auth.md.

Docs lookup: curl -s "https://fragno.dev/api/search?query=auth%20fragment".

Forms (@fragno-dev/forms)

Definition: JSON Schema and JSON Forms-based form builder plus response collection stored in your database.

Use when: you need schema-driven forms, admin-managed form lifecycle, and stored submissions.

Reference: ./references/first-party-fragments/forms.md.

Docs: curl -L "https://fragno.dev/docs/forms/quickstart" -H "accept: text/markdown".

Stripe (@fragno-dev/stripe)

Definition: Stripe subscription management with webhook-backed local state and client mutators.

Use when: your app sells subscriptions and you want built-in checkout, upgrade, cancel, and admin hooks.

Reference: ./references/first-party-fragments/stripe.md.

Docs: curl -L "https://fragno.dev/docs/stripe/quickstart" -H "accept: text/markdown".

Workflows (@fragno-dev/workflows)

Definition: Durable, long-running workflows with steps, timers, retries, and event waits backed by your database.

Use when: you need reliable multi-step processes and an HTTP API/CLI to manage instances.

Reference: ./references/first-party-fragments/workflows.md.

Docs: curl -L "https://fragno.dev/docs/workflows/quickstart" -H "accept: text/markdown".

Upload (@fragno-dev/upload)

Definition: Full-stack uploads with a normalized file model, S3/R2 or filesystem storage adapters, and client helpers for direct or server-streamed uploads.

Use when: you need file uploads with progress tracking and storage-backed file metadata.

Reference: ./references/first-party-fragments/upload.md.

Docs: curl -L "https://fragno.dev/docs/upload/quickstart" -H "accept: text/markdown".

Integration Guides

Platform-specific guides for common deployment patterns. Read the relevant guide when the user's stack matches.

Cloudflare Durable Objects

Use when: the user deploys to Cloudflare Workers and wants embedded SQLite storage via Durable Objects (no external database needed).

Covers: DurableObjectDialect + CloudflareDurableObjectsDriverConfig, the dry-run/live init pattern, DO class boilerplate with migrate(), wrangler config, worker re-export, and routing (Hono, plain Worker, React Router).

Reference: ./references/integrations/cloudflare-durable-objects.md.

Drizzle Schema Integration

Use when: the user uses Drizzle ORM and wants to merge Fragno-generated schemas with their app schema.

Covers: --format drizzle CLI output, spreading Fragment schemas into the app schema, dual-schema drizzle.config.ts, and the schema update workflow.

Reference: ./references/integrations/drizzle-schema-integration.md.

Docs lookup

The Fragno documentation is available online:

  • Search the docs:

- curl -s "https://fragno.dev/api/search?query=databaseAdapter"

  • Fetch Framework docs as Markdown:

- curl -L "https://fragno.dev/docs/fragno/user-quick-start" -H "accept: text/markdown"

  • Fetch a specific first-party Fragment's docs:

- curl -L "https://fragno.dev/docs/forms/static-forms" -H "accept: text/markdown"

References

The following reference files are available in ./references/: Note: all reference paths are relative to this skill file.

FileDescription
server-integration.mdServer-side integration: Framework-specific mounting patterns for server-side API routes
client-integration.mdCreating client-side integration modules and using Fragment hooks/composables in UI components
client-customization.mdCustomizing HTTP requests made by Fragno Fragments (authentication, CORS, interceptors)
middleware.mdIntercepting and processing requests before they reach route handlers
services.mdRunning functions defined by Fragments on the server, including calling route handlers directly
dispatchers.mdDurable hooks dispatchers: background processing, retries, and platform-specific setups
integrations/cloudflare-durable-objects.mdDeploy a Fragment in a Cloudflare DO: adapter, init pattern, DO class, wrangler config, routing
integrations/drizzle-schema-integration.mdMerge Fragno-generated Drizzle schemas with app schemas and configure Drizzle Kit
first-party-fragments/auth.mdAuth fragment one-pager (install, routes, client, migrations)
first-party-fragments/forms.mdForms fragment one-pager (schemas, hooks, admin routes, migrations)
first-party-fragments/stripe.mdStripe fragment one-pager (subscriptions, webhooks, admin hooks)
first-party-fragments/workflows.mdWorkflows fragment one-pager (runner/dispatcher, routes, CLI)
first-party-fragments/upload.mdUpload fragment one-pager (storage adapters, helpers, routes)

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

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

平台分布

Codex

34.13%
按下载量换算93

Claude

31.12%
按下载量换算85

Cursor

19.07%
按下载量换算52

Gemini CLI

8.87%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills