Agent Skillsdiegosouzapw/OmniRoute › omni-context-rtk

omni-context-rtk

GitHub

用于配置RTK过滤器、上下文工程规则及中继设置,支持通过API管理上下文转换管道、导入过滤器并测试文本压缩效果。

skills/omni-context-rtk/SKILL.md diegosouzapw/OmniRoute

Trigger Scenarios

需要配置或更新RTK上下文压缩设置 需要导入或验证RTK过滤器文件 需要测试上下文文本压缩效果

Install

npx skills add diegosouzapw/OmniRoute --skill omni-context-rtk -g -y
More Options

Use without installing

npx skills use diegosouzapw/OmniRoute@omni-context-rtk

指定 Agent (Claude Code)

npx skills add diegosouzapw/OmniRoute --skill omni-context-rtk -a claude-code -g -y

安装 repo 全部 skill

npx skills add diegosouzapw/OmniRoute --all -g -y

预览 repo 内 skill

npx skills add diegosouzapw/OmniRoute --list

SKILL.md

Frontmatter
{
    "name": "omni-context-rtk",
    "description": "Configure RTK filters, context engineering rules, and context relay settings. Test compression with real prompt samples and manage context transformation pipelines."
}

Overview

Configure RTK filters, context engineering rules, and context relay settings. Test compression with real prompt samples and manage context transformation pipelines.

Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.

Endpoints

GET /api/context/rtk/config

Get RTK compression settings

curl https://localhost:20128/api/context/rtk/config \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

PUT /api/context/rtk/config

Update RTK compression settings

curl -X PUT https://localhost:20128/api/context/rtk/config \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/context/rtk/filters

List RTK filters and load diagnostics

curl https://localhost:20128/api/context/rtk/filters \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

POST /api/context/rtk/import

Validate or install an RTK TOML schema v1 filter file

curl -X POST https://localhost:20128/api/context/rtk/import \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
  -H "Content-Type: application/json" \
  -d '{}'

POST /api/context/rtk/test

Run RTK compression preview for text

curl -X POST https://localhost:20128/api/context/rtk/test \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
  -H "Content-Type: application/json" \
  -d '{}'

GET /api/context/rtk/raw-output/{id}

Read retained redacted RTK raw output

curl https://localhost:20128/api/context/rtk/raw-output/{id} \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"

Payloads

See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.

Version History

  • 1cafd32 Current 2026-07-25 11:47

Same Skill Collection

skills/cli-a2a/SKILL.md
skills/cli-backup-sync/SKILL.md
skills/cli-batches/SKILL.md
skills/cli-chat/SKILL.md
skills/cli-compression/SKILL.md
skills/cli-contexts/SKILL.md
skills/cli-cost-usage/SKILL.md
skills/cli-eval/SKILL.md
skills/cli-health/SKILL.md
skills/cli-keys/SKILL.md
skills/cli-mcp/SKILL.md
skills/cli-models/SKILL.md
skills/cli-plugins-skills/SKILL.md
skills/cli-policy-audit/SKILL.md
skills/cli-providers/SKILL.md
skills/cli-resilience/SKILL.md
skills/cli-routing/SKILL.md
skills/cli-serve/SKILL.md
skills/cli-setup/SKILL.md
skills/cli-skill-collector/SKILL.md
skills/cli-tunnel/SKILL.md
skills/config-codex-cli/SKILL.md
skills/omni-agents-a2a/SKILL.md
skills/omni-api-keys/SKILL.md
skills/omni-auth/SKILL.md
skills/omni-budget/SKILL.md
skills/omni-cache/SKILL.md
skills/omni-cli-tools/SKILL.md
skills/omni-combos-routing/SKILL.md
skills/omni-compression/SKILL.md
skills/omni-db-backups/SKILL.md
skills/omni-github-skills/SKILL.md
skills/omni-inference/SKILL.md
skills/omni-mcp/SKILL.md
skills/omni-models/SKILL.md
skills/omni-providers/SKILL.md
skills/omni-proxies/SKILL.md
skills/omni-resilience/SKILL.md
skills/omni-settings/SKILL.md
skills/omni-sync-cloud/SKILL.md
skills/omni-tunnels/SKILL.md
skills/omni-usage-logs/SKILL.md
skills/omni-version-manager/SKILL.md
skills/omni-webhooks/SKILL.md
skills/ponytail/SKILL.md

Metadata

Files
0
Version
3d7ed7a
Hash
1882e191
Indexed
2026-07-25 11:47

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 03:53
浙ICP备14020137号-1 $mapa de visitantes$