gg

GitHub

管理Grida Gateway消费者适配器,处理原生AI令牌、Provider及Desktop集成。规范认证、计费隔离及测试结果持久化,禁止暴露服务端凭证或添加财务策略。

.agents/skills/gg/SKILL.md gridaco/grida

Trigger Scenarios

修改Gateway消费者适配器代码 处理原生AI令牌与Provider集成 涉及Grida Desktop集成逻辑

Install

npx skills add gridaco/grida --skill gg -g -y
More Options

Non-standard path

npx skills add https://github.com/gridaco/grida/tree/main/.agents/skills/gg -g -y

Use without installing

npx skills use gridaco/grida@gg

指定 Agent (Claude Code)

npx skills add gridaco/grida --skill gg -a claude-code -g -y

安装 repo 全部 skill

npx skills add gridaco/grida --all -g -y

预览 repo 内 skill

npx skills add gridaco/grida --list

SKILL.md

Frontmatter
{
    "name": "gg",
    "description": "Work on Grida's Gateway product consumer, scoped native AI tokens, installed gg provider and Desktop integration. Use for product execution adapters, not standalone Gateway service implementation or billing policy."
}

Grida Gateway consumers

Grida's web, CLI and Desktop retain their authenticated native entry points. Funded product generation is delegated by the server to Grida Gateway; this repository owns the consumer adapters and product result persistence. Standalone customer API-key support is separate from the installed login-based gg provider; do not replace one credential family with the other.

Read the affected adapter in editor/lib/ai/, Platform consumers, and GRIDA-SEC-006 in SECURITY.md when touching scoped tokens. The public standalone contract is gateway.grida.ai/llms.txt.

  • Preserve authenticated organization resolution and native result DTOs.
  • Product workload credentials are server-only; never expose them to a renderer or substitute a customer's API key.
  • Keep the existing gg:ai native audience and scoped lifetime. Account tokens, scoped native tokens and product workload credentials are distinct.
  • Preserve original accepted job identity during polling, retries and asset persistence. Download failure must not resubmit paid work.
  • Do not add financial policy, another credit balance or duplicate native usage to migrated generation. Retained native consumers still use Platform admission.
  • GRIDA-GG: <surface> marks consumer/token/provider/Desktop code. It does not indicate ownership of the Gateway service or financial engine.

Use focused no-dotenv unit/API tests and editor TypeScript. The paired SDK lane requires an explicitly supplied local service fixture and synthetic credentials; ordinary tests must not load hosted keys or call paid models.

Version History

  • 9cbacac Current 2026-10-20 03:07

    废弃遗留计费入口并清理消费者指导文档

  • 29f3afa 2026-08-20 15:55

Same Skill Collection

.agents/skills/ai-models/SKILL.md
.agents/skills/code-react/SKILL.md
.agents/skills/code-ts/SKILL.md
.agents/skills/database/SKILL.md
.agents/skills/docs-canvas/SKILL.md
.agents/skills/docs/SKILL.md
.agents/skills/editor-perf/SKILL.md
.agents/skills/ee-billing/SKILL.md
.agents/skills/ee/SKILL.md
.agents/skills/etiology/SKILL.md
.agents/skills/fixtures/SKILL.md
.agents/skills/io-figma/SKILL.md
.agents/skills/io-grida/SKILL.md
.agents/skills/links/SKILL.md
.agents/skills/naming/SKILL.md
.agents/skills/opt-library/SKILL.md
.agents/skills/oss-standards/SKILL.md
.agents/skills/platform-consumers/SKILL.md
skills/dotcanvas/SKILL.md
skills/slides/SKILL.md
skills/svg/SKILL.md
.agents/skills/agent-system/SKILL.md
.agents/skills/desktop/SKILL.md
.agents/skills/docs-svg-kit/SKILL.md
.agents/skills/docs-wg/SKILL.md
.agents/skills/grounding/SKILL.md
.agents/skills/pedantic/SKILL.md
.agents/skills/sdk-design/SKILL.md
.agents/skills/sdk-seam/SKILL.md
.agents/skills/security/SKILL.md
.agents/skills/seo/SKILL.md
.agents/skills/vision/SKILL.md

Metadata

Files
0
Version
9cbacac
Hash
6ef179be
Indexed
2026-08-20 15:55

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-24 23:46
浙ICP备14020137号-1