API Gateway
itsmostafa/aws-agent-skills
AWS API Gateway for REST and HTTP API management. An agent skill from itsmostafa/aws-agent-skills.
Memoria REST API endpoints, request/response formats, auth, rate limits.
$ npx skills add matrixorigin/memoria --skill api-reference -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install matrixorigin/memoria api-reference --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/api-reference .claude/skills/api-reference && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "api-reference" agent skill from https://github.com/matrixorigin/memoria/tree/main/skills/api-reference into .claude/skills/api-reference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-reference", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/matrixorigin/memoria/tree/main/skills/api-referenceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add matrixorigin/memoria --skill api-reference -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install matrixorigin/memoria api-reference --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/api-reference .agents/skills/api-reference && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "api-reference" agent skill from https://github.com/matrixorigin/memoria/tree/main/skills/api-reference into .agents/skills/api-reference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-reference", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add matrixorigin/memoria --skill api-reference -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install matrixorigin/memoria api-reference --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/api-reference .cursor/skills/api-reference && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "api-reference" agent skill from https://github.com/matrixorigin/memoria/tree/main/skills/api-reference into .cursor/skills/api-reference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-reference", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/matrixorigin/memoria.git --path skills/api-reference--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add matrixorigin/memoria --skill api-reference -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install matrixorigin/memoria api-reference --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/api-reference .gemini/skills/api-reference && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "api-reference" agent skill from https://github.com/matrixorigin/memoria/tree/main/skills/api-reference into .gemini/skills/api-reference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-reference", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install matrixorigin/memoria api-referenceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add matrixorigin/memoria --skill api-reference -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/api-reference .github/skills/api-reference && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "api-reference" agent skill from https://github.com/matrixorigin/memoria/tree/main/skills/api-reference into .github/skills/api-reference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-reference", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add matrixorigin/memoria --skill api-reference -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install matrixorigin/memoria api-reference --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/matrixorigin/memoria.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/api-reference .opencode/skills/api-reference && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "api-reference" agent skill from https://github.com/matrixorigin/memoria/tree/main/skills/api-reference into .opencode/skills/api-reference/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "api-reference", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
api-referenceMemoria REST API endpoints, request/response formats, auth, rate limits.
API Reference is an agent skill from matrixorigin/memoria. Memoria REST API endpoints, request/response formats, auth, rate limits. Use when calling or implementing API endpoints.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering REST APIs, Rate limiting and Structured output and tool calling. The repository describes itself as: Secure memory management for AI Agents • Ensures data integrity • Reduces hallucinations • Maintains consistent long-term context. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 81c5cc6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
LLM_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
API Reference loads about 2.3k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 790 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from matrixorigin/memoria at commit 81c5cc6, republished under its Apache-2.0 licence (© matrixorigin). 790 words, ~2,339 tokens.
.claude/skills/api-reference/SKILL.md (or your agent's skills folder).GET /v1/memories?limit=50&cursor=...&memory_type=semanticResponse: { "items": [...], "next_cursor": "..." }
POST /v1/memories{ "content": "...", "memory_type": "semantic", "session_id": null }Returns 201 with MemoryResponse.
Types: semantic (default), profile, procedural, working, tool_result
POST /v1/memories/batch{ "memories": [{ "content": "..." }, { "content": "...", "memory_type": "profile" }] }POST /v1/memories/retrieveHybrid vector + fulltext search, ranked by relevance.
{ "query": "...", "top_k": 10, "memory_types": ["semantic"], "session_id": null, "explain": false }explain: false | true (timing) | "verbose" (detailed) | "analyze" (full diagnostics)
POST /v1/memories/search{ "query": "...", "top_k": 10, "explain": false }Same as retrieve but without session prioritization.
POST /v1/memories/fulltext-searchPure MatrixOne lexical full-text search with optional exact SQL pre-filters. It does not generate embeddings or run vector, graph, hybrid, temporal, or confidence scoring and is intentionally not exposed as an MCP tool.
{
"query": "MatrixOne database",
"extra_metadata_filter": {"scene": "incident", "rank": 2},
"subject_id": "subject-123",
"memory_types": ["semantic"],
"session_id": "session-123",
"trust_tier": "T2",
"branch": "main",
"limit": 20
}All supplied filters use AND. session_id is strict: unscoped memories with
session_id: null are not included. This differs from retrieve/search session
scoping, which can include unscoped memories. Metadata equality preserves JSON
type families: number 2 may equal 2.0, while string "2" does not equal
number 2. Query length is limited to 4096 UTF-8 bytes and limit to 1–100.
Returns a plain memory array ordered by MatrixOne full-text score and then
memory_id; each result exposes the score as retrieval_score.
PUT /v1/memories/{id}/correct{ "new_content": "...", "reason": "..." }POST /v1/memories/correct{ "query": "...", "new_content": "...", "reason": "..." }Finds best match via semantic search, corrects it. Response includes matched_memory_id.
DELETE /v1/memories/{id}?reason=...POST /v1/memories/purge{ "memory_ids": ["id1"], "memory_types": ["working"], "before": "2026-01-01T00:00:00", "reason": "..." }All fields optional. Auto-creates safety snapshot. Response: { "purged": N, "snapshot_name": "..." }
POST /v1/observe{ "messages": [{ "role": "user", "content": "..." }] }GET /v1/profiles/me| Endpoint | Description |
|---|---|
POST /v1/snapshots | Create: { "name": "...", "description": "..." } |
GET /v1/snapshots | List all |
GET /v1/snapshots/{name}?detail=brief&limit=50&offset=0 | Detail (brief/normal/full) |
DELETE /v1/snapshots/{name} | Delete |
GET /v1/snapshots/{name}/diff?limit=50 | Diff vs current state |
POST /v1/snapshots/{name}/rollback | Restore to snapshot |
| Endpoint | Description |
|---|---|
POST /v1/branches | Create: { "name": "..." } |
GET /v1/branches | List all |
POST /v1/branches/{name}/checkout | Switch to branch |
GET /v1/branches/{name}/diff | Preview changes vs main |
POST /v1/branches/{name}/merge | Merge into main: { "strategy": "append" } |
DELETE /v1/branches/{name} | Delete |
| Endpoint | Cooldown | Description |
|---|---|---|
POST /v1/governance?force=false | 1 hour | Quarantine low-confidence, cleanup stale |
POST /v1/consolidate?force=false | 30 min | Detect contradictions, fix orphans |
POST /v1/reflect?force=false | 2 hours | Synthesize insights (needs LLM) |
POST /v1/extract-entities | — | Extract entities, build graph (needs LLM) |
POST /v1/extract-entities/link | — | Manually link entities to memories |
GET /v1/entities | — | List user's entities |
LLM-free alternatives: POST /v1/reflect/candidates, POST /v1/extract-entities/candidates — return raw data for the calling agent to process.
Feedback signals improve retrieval ranking over time. The system learns which memories are useful/irrelevant for each user.
memory_retrieve or memory_searchmemory_feedback with signal based on outcomefeedback_weight parameter (auto-tuned daily by governance)Quantified Impact: With default feedback_weight=0.1, a memory with 3 useful signals scores ~1.3x higher; one with 2 wrong signals scores ~0.9x lower. At feedback_weight=0.3, these become ~1.9x and ~0.7x respectively.
POST /v1/memories/{id}/feedback{ "signal": "useful", "context": "helped answer the question" }Signals: useful, irrelevant, outdated, wrong
Returns 201 with { "feedback_id": "..." }
Errors:
404: Memory not found422: Invalid signal valueGET /v1/feedback/statsReturns aggregated feedback counts:
{ "useful": 42, "irrelevant": 5, "outdated": 3, "wrong": 1 }GET /v1/feedback/by-tierReturns feedback breakdown by trust tier (T1-T4).
POST /v1/retrieval-params/tuneManually adjust retrieval scoring weights:
{ "feedback_weight": 0.15 }feedback_weight: 0.01–0.5 (default 0.1). Higher = feedback has more impact on ranking.
Auto-tuning: POST /v1/retrieval-params/tune with empty body triggers automatic tuning based on accumulated feedback.
Errors:
422: feedback_weight out of range200 with "message": Not enough feedback (requires ≥10 signals)GET /v1/retrieval-paramsReturns current retrieval parameters for the user.
| Tool | Relationship |
|---|---|
memory_retrieve / memory_search | Feedback affects their ranking results |
memory_correct | Use instead of wrong feedback when content needs fixing |
memory_purge | Use instead of outdated feedback when memory should be deleted |
memory_governance | Auto-tunes feedback_weight daily based on feedback patterns |
POST /v1/sessions/{session_id}/summary{ "mode": "full", "sync": true, "generate_embedding": true }Modes: full (topic/action/outcome) | lightweight (3-5 bullets, max 3/session)
Requires LLM (LLM_API_KEY). Returns 503 without it.
GET /v1/tasks/{task_id}Response: { "task_id": "...", "status": "completed|processing|failed", "result": {...} }
| Endpoint | Auth | Description |
|---|---|---|
POST /auth/keys | Master | Create API key: { "user_id": "...", "name": "..." } |
GET /auth/keys | Bearer | List my keys |
GET /auth/keys/{id} | Bearer | Get key detail |
PUT /auth/keys/{id}/rotate | Bearer | Rotate (revoke old, issue new) |
DELETE /auth/keys/{id} | Bearer | Revoke |
| Endpoint | Description |
|---|---|
GET /admin/stats | System stats |
GET /admin/users?cursor=...&limit=100 | List users |
GET /admin/users/{id}/stats | User stats |
GET /admin/users/{id}/keys | User's API keys |
DELETE /admin/users/{id}/keys | Revoke all user keys |
DELETE /admin/users/{id} | Deactivate user |
POST /admin/governance/{id}/trigger?op=governance | Trigger governance (governance/consolidate/reflect) |
| Endpoint | Description |
|---|---|
GET/POST /admin/plugins/signers | List/add trusted signers |
POST /admin/plugins | Publish plugin (base64 files) |
POST /admin/plugins/:key/:ver/review | Review: { "status": "active" } |
POST /admin/plugins/:key/:ver/score | Score: { "score": 4.5 } |
GET/POST /admin/plugins/domains/:d/bindings | List/create binding rules |
POST /admin/plugins/domains/:d/activate | Activate binding |
GET /admin/plugins | List packages |
GET /admin/plugins/matrix | Compatibility matrix |
GET /admin/plugins/events | Audit events |
| Endpoint | Response | Use |
|---|---|---|
GET /health | "ok" | Liveness probe |
GET /health/instance | { "status": "ok", "instance_id": "..." } | Readiness probe |
Per API key, sliding window. Key limits: store 300/min, retrieve 300/min, batch 60/min, purge 30/min, consolidate/reflect 10/min. Returns 429 when exceeded.
{ "detail": "Error message" }Status codes: 400 (validation), 401 (auth), 403 (forbidden), 404 (not found), 409 (conflict), 429 (rate limit), 500 (internal).
© matrixorigin, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/api-reference of matrixorigin/memoria.
Open the folder on GitHubat commit 81c5cc6
API Reference next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| API Reference this skillmatrixorigin/memoria | 607 | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| API Gatewayitsmostafa/aws-agent-skills | 1.2k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Frappe Core APIImpertio-Studio/Frappe_Claude_Skill_Package | 187 | 1 repos | ~3.2k | Automated safety check: Pass | MIT | |
| API Auditbriiirussell/cybersecurity-skills | 412 | — | ~2.8k | Automated safety check: Notes | MIT | |
| Frappe Errors APIImpertio-Studio/Frappe_Claude_Skill_Package | 187 | 1 repos | ~4k | Automated safety check: Pass | MIT | |
| API Conventionshuangjia2019/claude-code-engineering | 1.1k | 1 repos | ~398 | Automated safety check: Pass | None |
itsmostafa/aws-agent-skills
AWS API Gateway for REST and HTTP API management. An agent skill from itsmostafa/aws-agent-skills.
Impertio-Studio/Frappe_Claude_Skill_Package
A skill your agent uses when building ERPNext/Frappe API integrations (v14/v15/v16) including REST API, RPC API, authentication, webhooks, and rate limiting.
briiirussell/cybersecurity-skills
Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023).
Impertio-Studio/Frappe_Claude_Skill_Package
A skill your agent uses when debugging or handling API errors in Frappe/ERPNext v14/v15/v16.
huangjia2019/claude-code-engineering
API design patterns and conventions for this project. An agent skill from huangjia2019/claude-code-engineering.
mobazha/mobazha-unified
Look up Mobazha backend API endpoints, request/response formats, and field mappings.
matrixorigin/memoria
Use Memoria as OpenClaw's durable memory slot. An agent skill from matrixorigin/memoria.
matrixorigin/memoria
Memoria codebase structure, workspace layout, key traits, database tables, config patterns, and testing conventions.
matrixorigin/memoria
Deploy Memoria with Docker Compose or Kubernetes. An agent skill from matrixorigin/memoria.
matrixorigin/memoria
Run embedding on-device with ONNX Runtime. An agent skill from matrixorigin/memoria.
matrixorigin/memoria
Create, test, sign, and publish Memoria governance plugins. An agent skill from matrixorigin/memoria.
matrixorigin/memoria
Cut a Memoria release. An agent skill from matrixorigin/memoria.
Categories
Memoria REST API endpoints, request/response formats, auth, rate limits. API Reference is an agent skill from matrixorigin/memoria. Memoria REST API endpoints, request/response formats, auth, rate limits.
API Reference fits situations like: implementing API endpoints; tasks that involve REST APIs; tasks that involve Rate limiting.
Run `npx skills add matrixorigin/memoria --skill api-reference -a claude-code`. Or copy the skill folder (skills/api-reference in matrixorigin/memoria) into .claude/skills/api-reference in your project. Claude Code loads it when a task matches its description.
Run `npx skills add matrixorigin/memoria --skill api-reference -a codex`. Or copy the skill folder (skills/api-reference in matrixorigin/memoria) into .agents/skills/api-reference in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add matrixorigin/memoria --skill api-reference -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-reference, .gemini/skills/api-reference, .github/skills/api-reference and .opencode/skills/api-reference in your project.
Going by SKILL.md and its folder, API Reference needs credentials named LLM_API_KEY. Our summary lists: A credential in LLM_API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
API Reference is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with API Reference: API Gateway (itsmostafa/aws-agent-skills, 1.2k stars), Frappe Core API (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars), API Audit (briiirussell/cybersecurity-skills, 412 stars) and Frappe Errors API (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
matrixorigin (a GitHub organization) maintains it in matrixorigin/memoria, which has 607 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.
Source: matrixorigin/memoria on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.