Agent skill

Add Path Type Assertions Or Realpath Resolve Calls In Path Joini

by ZaxbyHub in ZaxbyHub/opencode-swarm

Add path-type assertions or realpath/resolve calls in path-joining utility functions

MITAuto-check passed

Install Add Path Type Assertions Or Realpath Resolve Calls In Path Joini

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill add-path-type-assertions-or-realpath-resolve-calls-in-path-joini -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm add-path-type-assertions-or-realpath-resolve-calls-in-path-joini --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini .claude/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini && rm -rf skills-src

Use ~/.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/

Facts

Skill name
add-path-type-assertions-or-realpath-resolve-calls-in-path-joini
GitHub stars
494
Token cost
~324 tokens
SKILL.md length
78 words
Files
2
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Add path-type assertions or realpath/resolve calls in path-joining utility functions

  • SKILL.md covers Trigger, Required Procedure, Forbidden Shortcuts and Delegation Template, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Path Type Assertions Or Realpath Resolve Calls In Path Joini is an agent skill from ZaxbyHub/opencode-swarm. Add path-type assertions or realpath/resolve calls in path-joining utility functions

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

Example prompts

  • “/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini”

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Path Type Assertions Or Realpath Resolve Calls In Path Joini loads about 324 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 78 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~324

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 78 words, ~324 tokens.

Download SKILL.mdSave it as .claude/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
add-path-type-assertions-or-realpath-resolve-calls-in-path-joini
description
Add path-type assertions or realpath/resolve calls in path-joining utility functions
triggers
path.join, realpath, fs path
generated_at
2026-07-02T02:35:49.870Z
confidence
0.6
status
active
version
2
skill_origin
generated
<!-- generated by opencode-swarm skill-generator. Do not edit by hand; edits will be preserved on regeneration only with controlled update mode. -->

Add path-type assertions or realpath/resolve calls in path-joining utility functions

Trigger

  • path.join
  • realpath
  • fs path

Required Procedure

  • Add path-type assertions or realpath/resolve calls in path-joining utility functions
  • Use absolute paths in test fixture creation

Forbidden Shortcuts

  • (none recorded)

Delegation Template

When delegating a task affected by this skill, include:

SKILLS: file:.opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini/SKILL.md

Reviewer Checks

  • Verify all path.join / path.resolve calls are preceded by absoluteness checks or resolution

Test Engineer Checks

  • Add or update tests covering the trigger condition and the forbidden shortcut.

© ZaxbyHub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini of ZaxbyHub/opencode-swarm.

  • SKILL.md
  • retired.marker

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Add Path Type Assertions Or Realpath Resolve Calls In Path Joini 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.

Add Path Type Assertions Or Realpath Resolve Calls In Path Joini compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Path Type Assertions Or Realpath Resolve Calls In Path Joini this skillZaxbyHub/opencode-swarm494—~324Automated safety check: PassMIT
Assertionsonsi/gomega2.4k—~2.1kAutomated safety check: PassMIT
Resolve Git Conflictspenpot/penpot61k—~772Automated safety check: PassMPL-2.0
Resolving Ingestion WarningsPostHog/posthog40k—~7kAutomated safety check: PassCustom licence
Resolve Inputsomnigent-ai/omnigent11k—~2kAutomated safety check: PassApache-2.0
Resolve Handoffomnigent-ai/omnigent11k—~4.6kAutomated safety check: PassApache-2.0

Similar skills

  • Assertions

    onsi/gomega

    Write correct synchronous Gomega assertions — Expect/Ω notation, the To/NotTo/ToNot/Should/ShouldNot equivalences, the multi-return error idiom, Succeed vs HaveOccurred, the .Error() chaining form…

    2.4k GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Conflict resolution flow — understand the local git conflicts, present a resolution plan, and resolve them after the user approves it.

    61k GitHub stars~772 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Diagnoses and resolves PostHog ingestion warnings — problems recorded while ingesting events (dropped events, rejected person merges, oversized payloads, invalid data).

    40k GitHub stars~7k tokensUpdated yesterday
    Auto-check passed
  • Resolve Inputs

    omnigent-ai/omnigent

    Select the Resolve mode, recover its input, check the workspace, and discover existing fixes.

    11k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Resolve Handoff

    omnigent-ai/omnigent

    Emit the complete Resolve handoff with exact modes, outcomes, test evidence, and publication state.

    11k GitHub stars~4.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Resolve Audio

    samuelgursky/davinci-resolve-mcp

    Audio and Fairlight work in the DaVinci Resolve MCP. An agent skill from samuelgursky/davinci-resolve-mcp.

    3.5k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    496 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    496 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    496 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    496 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    496 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Questions about Add Path Type Assertions Or Realpath Resolve Calls In Path Joini

What does Add Path Type Assertions Or Realpath Resolve Calls In Path Joini do?

Add path-type assertions or realpath/resolve calls in path-joining utility functions. Add Path Type Assertions Or Realpath Resolve Calls In Path Joini is an agent skill from ZaxbyHub/opencode-swarm.

How do I install Add Path Type Assertions Or Realpath Resolve Calls In Path Joini in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill add-path-type-assertions-or-realpath-resolve-calls-in-path-joini -a claude-code`. Or copy the skill folder (.opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini in ZaxbyHub/opencode-swarm) into .claude/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini in your project. Claude Code loads it when a task matches its description.

How do I install Add Path Type Assertions Or Realpath Resolve Calls In Path Joini in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill add-path-type-assertions-or-realpath-resolve-calls-in-path-joini -a codex`. Or copy the skill folder (.opencode/skills/generated/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini in ZaxbyHub/opencode-swarm) into .agents/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini in your project. Codex loads it when a task matches its description.

Can I use Add Path Type Assertions Or Realpath Resolve Calls In Path Joini in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZaxbyHub/opencode-swarm --skill add-path-type-assertions-or-realpath-resolve-calls-in-path-joini -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini, .gemini/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini, .github/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini and .opencode/skills/add-path-type-assertions-or-realpath-resolve-calls-in-path-joini in your project.

What does Add Path Type Assertions Or Realpath Resolve Calls In Path Joini need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Path Type Assertions Or Realpath Resolve Calls In Path Joini is instructions for the agent only.

Does Add Path Type Assertions Or Realpath Resolve Calls In Path Joini access the network?

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.

Is Add Path Type Assertions Or Realpath Resolve Calls In Path Joini safe to install?

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.

What licence does Add Path Type Assertions Or Realpath Resolve Calls In Path Joini use?

Add Path Type Assertions Or Realpath Resolve Calls In Path Joini is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Path Type Assertions Or Realpath Resolve Calls In Path Joini use?

About 324 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Path Type Assertions Or Realpath Resolve Calls In Path Joini?

Skills that share tags, products or a category with Add Path Type Assertions Or Realpath Resolve Calls In Path Joini: Assertions (onsi/gomega, 2.4k stars), Resolve Git Conflicts (penpot/penpot, 61k stars), Resolving Ingestion Warnings (PostHog/posthog, 40k stars) and Resolve Inputs (omnigent-ai/omnigent, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Path Type Assertions Or Realpath Resolve Calls In Path Joini?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

Source: ZaxbyHub/opencode-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.