Use Yaak
mountain-loop/yaak
A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…
Fix features broken by REST API responses that flatten Nostr events, losing tag data.
$ npx skills add divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile nostr-rest-api-field-mapping-gap --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/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nostr-rest-api-field-mapping-gap .claude/skills/nostr-rest-api-field-mapping-gap && 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 "nostr-rest-api-field-mapping-gap" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gap into .claude/skills/nostr-rest-api-field-mapping-gap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nostr-rest-api-field-mapping-gap", 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/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gapType 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 divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile nostr-rest-api-field-mapping-gap --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/nostr-rest-api-field-mapping-gap .agents/skills/nostr-rest-api-field-mapping-gap && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nostr-rest-api-field-mapping-gap" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gap into .agents/skills/nostr-rest-api-field-mapping-gap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nostr-rest-api-field-mapping-gap", 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 divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile nostr-rest-api-field-mapping-gap --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/nostr-rest-api-field-mapping-gap .cursor/skills/nostr-rest-api-field-mapping-gap && 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 "nostr-rest-api-field-mapping-gap" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gap into .cursor/skills/nostr-rest-api-field-mapping-gap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nostr-rest-api-field-mapping-gap", 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/divinevideo/divine-mobile.git --path .agents/skills/nostr-rest-api-field-mapping-gap--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 divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile nostr-rest-api-field-mapping-gap --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/nostr-rest-api-field-mapping-gap .gemini/skills/nostr-rest-api-field-mapping-gap && 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 "nostr-rest-api-field-mapping-gap" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gap into .gemini/skills/nostr-rest-api-field-mapping-gap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nostr-rest-api-field-mapping-gap", 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 divinevideo/divine-mobile nostr-rest-api-field-mapping-gapInstalls 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 divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/nostr-rest-api-field-mapping-gap .github/skills/nostr-rest-api-field-mapping-gap && 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 "nostr-rest-api-field-mapping-gap" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gap into .github/skills/nostr-rest-api-field-mapping-gap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nostr-rest-api-field-mapping-gap", 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 divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile nostr-rest-api-field-mapping-gap --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/nostr-rest-api-field-mapping-gap .opencode/skills/nostr-rest-api-field-mapping-gap && 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 "nostr-rest-api-field-mapping-gap" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/nostr-rest-api-field-mapping-gap into .opencode/skills/nostr-rest-api-field-mapping-gap/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nostr-rest-api-field-mapping-gap", 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.
nostr-rest-api-field-mapping-gapFix features broken by REST API responses that flatten Nostr events, losing tag data.
Nostr REST API Field Mapping Gap is an agent skill from divinevideo/divine-mobile. Fix features broken by REST API responses that flatten Nostr events, losing tag data. Use when: (1) A feature works for WebSocket-loaded events but not REST API-loaded ones, (2) A model field (like sha256, textTrackRef) is null for REST API data but set for WebSocket data, (3) REST API returns denormalized fields (dtag, videourl) but omits raw tags array, (4) hasSubtitles/hasFeature returns false for REST-loaded videos. Common in Nostr clients that use both REST APIs (for analytics/bulk queries) and WebSocket…
Its SKILL.md is about 1.5k 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 and Realtime and WebSockets. The licence is MPL-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6487b05. 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.
Shell commands in SKILL.md call:
curljqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nostr REST API Field Mapping Gap loads about 1.5k tokens when it runs. Until then it costs about 143 tokens; SKILL.md has 594 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 divinevideo/divine-mobile at commit 6487b05, republished under its MPL-2.0 licence (© divinevideo). 594 words, ~1,529 tokens.
.claude/skills/nostr-rest-api-field-mapping-gap/SKILL.md (or your agent's skills folder).Nostr clients that use both REST APIs and WebSocket connections to load events can
have features that work inconsistently. Features that depend on Nostr tag values
(like the x tag for sha256, or custom tags for text tracks) work when events are
loaded via WebSocket (which provides the full raw event with all tags), but break
when the same events are loaded via REST API (which returns flattened/denormalized
JSON without the raw tags array).
d_tag, video_url, title but NO tags arrayfromJson() factory parses tags for values like x (sha256), but the REST API
doesn't include raw tagshasSubtitles, hasFeature, or similar getters return false for REST API dataREST APIs that index Nostr events typically:
For example, in a Blossom-based video system:
x tag contains the SHA256 content hashd_tag (which for Blossom uploads IS the SHA256) but not sha256fromJson() tries to find sha256 from direct field or x tag, finds neithersha256 (like subtitle fetching) break silentlyCompare what the REST API returns vs what the model needs:
# Fetch a sample REST API response
curl -s "https://your-api.example.com/api/videos?limit=1" | jq '.[0] | keys'Check which model fields are null after parsing:
fromJson() factory methodIn the model's fromJson(), add fallback logic AFTER the primary parsing:
// Primary: try direct field and tags
var sha256 = eventData['sha256']?.toString() ?? json['sha256']?.toString();
// Parse from tags if available
if (eventData['tags'] is List) {
// ... tag parsing for 'x' tag ...
}
// Normalize
if (sha256 != null && sha256.isEmpty) sha256 = null;
// FALLBACK: Use semantically equivalent field from REST API
// For Blossom uploads, d_tag IS the content hash (64 hex chars)
if (sha256 == null && dTag.length == 64 && _isHex(dTag)) {
sha256 = dTag;
}Ensure the fallback only triggers when appropriate:
test('falls back to d_tag as sha256 when d_tag is 64-char hex', () {
final json = {
'd_tag': 'a04b70820ef370e90aae19d23e46b1482d3af0e7c9d994d1594a1384a62d3972',
// No sha256 field, no tags array (REST API response)
...otherFields,
};
final model = Model.fromJson(json);
expect(model.sha256, equals(json['d_tag']));
});
test('does not use d_tag as sha256 when d_tag is not a hex hash', () {
final json = {'d_tag': 'my-video-slug', ...otherFields};
final model = Model.fromJson(json);
expect(model.sha256, isNull);
});
test('does not override explicit sha256 with d_tag', () {
final json = {
'd_tag': 'a04b708...', // 64 hex
'sha256': 'explicit-value',
...otherFields,
};
final model = Model.fromJson(json);
expect(model.sha256, equals('explicit-value'));
});When a feature works inconsistently across events:
API response -> fromJson() -> model -> getter -> UI conditionif (model.hasX) or if (field != null) in UIfromJson() to see what's null_isHex() validation prevents false positives from non-hash d_tag valuesrest-api-optimistic-update-race-condition - Another REST API data consistency issuenostr-addressable-event-d-tag-requirement - Related d_tag handling© divinevideo, MPL-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 .agents/skills/nostr-rest-api-field-mapping-gap of divinevideo/divine-mobile.
Open the folder on GitHubat commit 6487b05
Nostr REST API Field Mapping Gap 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 |
|---|---|---|---|---|---|---|
| Nostr REST API Field Mapping Gap this skilldivinevideo/divine-mobile | 266 | — | ~1.5k | Automated safety check: Pass | MPL-2.0 | |
| Use Yaakmountain-loop/yaak | 19k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Binance Datatoollostleaf/binance-datatool | 148 | — | ~2.5k | Automated safety check: Notes | BSD-3-Clause | |
| Action Cable PatternsThibautBaissac/rails_ai_agents | 665 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Cb Realtime APIBlkLeg/CircuitBreaker | 201 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Domain Webfjrevoredo/mini-diarium | 308 | 1 repos | ~1k | Automated safety check: Pass | MIT |
mountain-loop/yaak
A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…
lostleaf/binance-datatool
Manage Binance historical market data from data.binance.vision using the binance-datatool CLI.
ThibautBaissac/rails_ai_agents
Implements real-time features with Action Cable and WebSockets.
BlkLeg/CircuitBreaker
How Circuit Breaker moves data between backend and frontend — the NATS internal bus, Redis pub/sub, the WebSocket stream endpoints and their first-message JWT handshake, SSE log/event streams, and…
fjrevoredo/mini-diarium
A skill your agent uses when building web services. An agent skill from fjrevoredo/mini-diarium.
Jeffallan/claude-skills
Builds async Python APIs with FastAPI and Pydantic V2, covering endpoints, JWT authentication, async SQLAlchemy, WebSockets and pytest checks against the OpenAPI docs.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Categories
Fix features broken by REST API responses that flatten Nostr events, losing tag data. Nostr REST API Field Mapping Gap is an agent skill from divinevideo/divine-mobile. Fix features broken by REST API responses that flatten Nostr events, losing tag data.
Nostr REST API Field Mapping Gap fits situations like: A feature works for WebSocket-loaded events but not REST API-loaded ones; A model field (like sha256; textTrackRef) is null for REST API data but set for WebSocket data; REST API returns denormalized fields (dtag.
Run `npx skills add divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a claude-code`. Or copy the skill folder (.agents/skills/nostr-rest-api-field-mapping-gap in divinevideo/divine-mobile) into .claude/skills/nostr-rest-api-field-mapping-gap in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a codex`. Or copy the skill folder (.agents/skills/nostr-rest-api-field-mapping-gap in divinevideo/divine-mobile) into .agents/skills/nostr-rest-api-field-mapping-gap 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 divinevideo/divine-mobile --skill nostr-rest-api-field-mapping-gap -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nostr-rest-api-field-mapping-gap, .gemini/skills/nostr-rest-api-field-mapping-gap, .github/skills/nostr-rest-api-field-mapping-gap and .opencode/skills/nostr-rest-api-field-mapping-gap in your project.
Going by SKILL.md and its folder, Nostr REST API Field Mapping Gap needs the command-line tools its instructions call (curl and jq).
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. 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.
Nostr REST API Field Mapping Gap is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k 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 Nostr REST API Field Mapping Gap: Use Yaak (mountain-loop/yaak, 19k stars), Binance Datatool (lostleaf/binance-datatool, 148 stars), Action Cable Patterns (ThibautBaissac/rails_ai_agents, 665 stars) and Cb Realtime API (BlkLeg/CircuitBreaker, 201 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 9, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.