Skip to content

Relewise/relewise-agent-plugins / plugins/relewise/skills/relewise-agent-gateway

relewise-agent-gateway

Unverified

Provides the shared execution layer for Relewise Agent Gateway. Use whenever another Relewise skill needs to discover Datasets or execute an operation through the bundled CLI, MCP, or direct REST, and when diagnosing transport or authentication failures.

references/cli.md

View on GitHub
# Bundled CLI usage

The executable emits one JSON document. Read its `success` property first and use the process exit code as a secondary signal.

## Discovery

```text
relewise-agent me
relewise-agent datasets
relewise-agent dataset <dataset-id>
```

Prefer `datasets` for normalized Dataset discovery. Use `me` when user or non-secret PAT metadata is relevant. `dataset` validates accessibility and returns Dataset details plus its effective Agent Gateway policy.

## Contract-backed operations

```text
relewise-agent operations
relewise-agent schema <operation-id>
relewise-agent call <operation-id> --dataset <dataset-id> [--input <path>]
```

Ground every call in an exact operation ID returned by `operations` or declared by the calling domain skill's `operations.json`. Inspect `schema` before constructing unfamiliar input.

When input is required, write a temporary JSON file with this envelope:

```json
{
  "parameters": {},
  "body": {}
}
```

Use `parameters` for non-Dataset path and query parameters. Include `body` only when the operation accepts a request body. The CLI inserts and validates the Dataset ID.

## Errors

- `authentication_error`: Follow the shared transport failure classification. Never inspect or expose the PAT.
- `dataset_access_error`: Rediscover Datasets and do not retry an inaccessible ID.
- `operation_not_found`: Refresh operation selection from `operations`; never guess an ID.
- `validation_error`: Correct input using `schema` and the returned message.
- `api_error`: Use the bounded message and status code to correct the request when possible; avoid identical retries.
- `network_error`: Treat it as a transport failure and follow the bounded fallback rules.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall