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

spider-weave蜘蛛网

Agent Skill

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

总安装

1,665

周安装

68

GitHub Stars

4

下载量

533
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/autumnsgrove/groveengine --skill spider-weave

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态。spider-weave 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 注意是否会触发联网、命令执行或文件读写操作。

SKILL.md

Spider Weave

The spider doesn't rush. It spins one thread at a time, anchoring each carefully before moving to the next. The web grows organically—radial strands first, then the spiral, each connection tested for strength. When complete, the web catches what matters while letting the wind pass through. Authentication woven this way is strong, resilient, and beautiful in its structure.

When to Activate

  • User asks to "add auth" or "set up authentication"
  • User says "protect this route" or "add login"
  • User calls /spider-weave or mentions spider/auth
  • Integrating OAuth (Google, GitHub, etc.)
  • Setting up session management
  • Protecting API routes
  • Adding role-based access control (RBAC)
  • Implementing PKCE flow
  • Connecting to Heartwood (GroveAuth)

Pair with: raccoon-audit for security review, beaver-build for auth testing


The Weave

SPIN --> CONNECT --> SECURE --> TEST --> BIND
  |         |          |          |        |
Create    Link       Harden    Verify   Lock In
Threads  Strands     Knots      Web    Security

Phase 1: SPIN

*The spider spins the first thread, anchoring it carefully in the corner of the frame...*

Create the foundational auth structure. Choose a pattern, scaffold the files, define the schema, and wire environment variables before writing a line of logic.

  • Choose the auth pattern: Session, JWT, OAuth 2.0, PKCE, or API Keys — based on app type and user needs
  • Scaffold src/lib/auth/ with index.ts, types.ts, session.ts, middleware.ts, pkce.ts, client.ts
  • Define the users and sessions tables in the database schema
  • Set required environment variables: client IDs, secrets, authorize/token/userinfo URLs, redirect URI, session secret

Reference: Load references/oauth-pkce-flow.md for PKCE setup code, database schema, env var list, and the full file structure


Phase 2: CONNECT

*Thread connects to thread, the web taking shape across the frame...*

Link the auth system together: implement the OAuth login redirect, the callback handler, user upsert, and session creation. Then wire up the client-side auth store.

  • Implement the login route: generate PKCE verifier + challenge, set cookies, redirect to provider
  • Implement the callback route: verify state, exchange code for tokens, fetch userinfo, upsert user, create session, clean up PKCE cookies
  • Build session creation (createSession), validation (validateSession), and invalidation (invalidateSession)
  • Set up the client-side auth store with loadUser() for reactive auth state in Svelte

Reference: Load references/oauth-pkce-flow.md for the complete login and callback route implementations, and references/session-management.md for session functions and the auth store


Phase 3: SECURE

*The spider tests each knot, tightening what holds loose, cutting what doesn't belong...*

Harden the authentication system before trusting it with users. Add route protection, security headers, CSRF validation, and rate limiting.

  • Implement requireAuth() middleware that validates sessions in hooks.server.ts
  • Implement requireRole(allowedRoles) for RBAC — 403 on unauthorized access
  • Set security headers on every response: X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Content-Security-Policy
  • Add CSRF origin validation for state-changing endpoints
  • Add rate limiting: 5 attempts per 15 minutes per IP on auth endpoints

Reference: Load references/route-protection.md for middleware code and RBAC patterns, and references/security-headers.md for headers, CSRF, rate limiting, and Cloudflare edge rules


Phase 4: TEST

*The spider plucks the strands, verifying each vibrates true at the right frequency...*

Test authentication thoroughly across the happy path, security edge cases, and failure modes. Automated tests catch regressions; security tests verify the knots hold.

  • Test the full OAuth flow: redirects with PKCE challenge, callback handling, session creation
  • Test route protection: unauthenticated redirect, authenticated access, role enforcement
  • Test security properties: CSRF state rejection, secure cookie attributes, session fixation prevention
  • Cover failure modes: expired sessions, invalid codes, denied OAuth permissions

Reference: Load references/oauth-pkce-flow.md for OAuth flow tests and references/route-protection.md for route protection test suite


Phase 5: BIND

*The web is complete, every strand bound tight, the whole stronger than the sum of its threads...*

Finalize and lock in the authentication. Polish the user experience, configure monitoring, and produce the completion report.

  • Verify the integration checklist: login, logout, protected routes, session expiry, error handling, rate limiting, CSRF, headers, cookies
  • Add login UI loading and error states with proper aria-busy and role="alert" attributes
  • Configure auth event logging (userId, provider, IP — never tokens or passwords)
  • Alert on suspicious activity (10+ failed attempts from same identifier)
  • Generate the completion report: provider, flow type, files created, security features confirmed, test counts

Reference: Load references/session-management.md for the full integration checklist, login UI snippet, monitoring patterns, and completion report template. Load references/heartwood-integration.md for Grove-specific logout flow and role assignment.


Reference Routing Table

PhaseReferenceLoad When
SPINreferences/oauth-pkce-flow.mdAlways — foundation code lives here
CONNECTreferences/oauth-pkce-flow.md + references/session-management.mdImplementing login/callback/session
SECUREreferences/route-protection.md + references/security-headers.mdAdding middleware, headers, rate limiting
TESTreferences/oauth-pkce-flow.md + references/route-protection.mdWriting auth and route tests
BINDreferences/session-management.md + references/heartwood-integration.mdFinalizing, logging, reporting
Grove/Heartwoodreferences/heartwood-integration.mdAny Grove ecosystem integration

Spider Rules

Patience

Weave one thread at a time. Don't rush to connect everything at once. Each strand must be secure before adding the next.

Precision

Small mistakes in auth have big consequences. Verify every redirect, check every token, validate every session.

Completeness

A web with holes catches nothing. Test the error paths, the edge cases, the failure modes. Security is only as strong as the weakest strand.

Communication

Use weaving metaphors:

  • "Spinning the threads..." (creating foundations)
  • "Connecting the strands..." (linking components)
  • "Testing the knots..." (security hardening)
  • "The web holds..." (verification complete)

Anti-Patterns

The spider does NOT:

  • Store passwords in plain text (ever)
  • Skip PKCE in OAuth flows
  • Trust user input without validation
  • Leave default secrets in configuration
  • Ignore session expiration
  • Log sensitive data (tokens, passwords)
  • Reflect redirect_uri or next parameters without validation (open redirect)
  • Assign admin roles via OAuth claims (manual DB assignment only)

Example Weave

User: "Add GitHub OAuth login"

Spider flow:

  1. SPIN — "Create OAuth app in GitHub, generate client credentials, set up PKCE utilities, create auth endpoints structure"
  2. CONNECT — "Implement /auth/github/login redirect, /auth/github/callback handler, user upsert logic, session creation"
  3. SECURE — "Add CSRF state validation, secure cookie settings, rate limiting on auth endpoints, role assignment for new users"
  4. TEST — "Test OAuth flow, callback handling, session creation, protected route access, error cases (denied permissions)"
  5. BIND — "Add login button to UI, error state handling, loading states, documentation, monitoring"

Quick Decision Guide

SituationApproach
Simple app, internal usersSession-based auth
Public app, social loginOAuth 2.0 + PKCE
API for mobile/SPAJWT with refresh tokens
Service-to-serviceAPI keys with IP allowlist
Grove ecosystemHeartwood integration (load references/heartwood-integration.md)

Integration with Other Skills

Before Weaving:

  • eagle-architect — For auth system design decisions
  • swan-design — For auth flow specifications

During Weaving:

  • elephant-build — For multi-file auth implementation
  • raccoon-audit — For security review

After Weaving:

  • beaver-build — For auth testing
  • turtle-harden — For defense-in-depth hardening beyond the web
  • deer-sense — For accessibility audit of login UI

*A well-woven web catches intruders while letting friends pass through.*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.17%
按下载量换算203

Claude

31.6%
按下载量换算168

Cursor

18.61%
按下载量换算99

Gemini CLI

9.37%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills