/SKILL.md
Fetch one source file from any installed package import path and either return code in chat mode or create a local file in create mode.
npx skillsauth add avesh-h/fdk_file_fetcher fdk-file-fetcherInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Target flow:
All source is always fetched from GitHub; the script does not read from local files or node_modules for content.
api.github.comraw.githubusercontent.comregistry.npmjs.org (optional, for package metadata)Use this skill when the user provides:
File pathExtensionCall pathmode (chat or create)Output (create mode)Before running the command, explicitly print in the agent response:
Using skill: fdk-file-fetcher
The script logs to stderr in this format: [fdk-file-fetcher] ...
File path -> --file-path
@gofynd/theme-template/page-layouts/single-checkout/shipment/single-page-shipmentExtension -> --extensionCall path -> --call-path
theme/page-layouts/single-checkout/checkout/checkout.jsxmode -> --mode (chat | create)Output -> --output (create mode only; optional)--output-format json (chat mode only; recommended when the agent runs the script — see below)--repo, --ref, --prefer-latest, --source-prefixRun the script (from project root) with the user’s inputs mapped to flags.
Capture stdout and stderr. Note the exit code.
If exit code is 0 (success):
--output-format json: stdout is one JSON object. Parse it. It has content, repoPath, ref, repo, packageName, importPath. Return the content to the user in a code block with the language set from the extension (e.g. jsx, ts, less). You may briefly mention source: e.g. “From repo at ref, path repoPath.”outputFile and, if present, show suggestedLocalImport for the caller file.If exit code is non-zero (failure):
Chat mode (recommended for agent: use --output-format json so you can parse and present reliably):
node scripts/fdk_file_fetcher.js \
--file-path "@gofynd/theme-template/page-layouts/single-checkout/shipment/single-page-shipment" \
--extension "less" \
--call-path "theme/page-layouts/single-checkout/checkout/checkout.jsx" \
--mode "chat" \
--output-format "json" \
--prefer-latest
Chat mode (raw stdout, for terminal use):
node scripts/fdk_file_fetcher.js \
--file-path "@gofynd/theme-template/page-layouts/single-checkout/shipment/single-page-shipment" \
--extension "less" \
--call-path "theme/page-layouts/single-checkout/checkout/checkout.jsx" \
--mode "chat" \
--prefer-latest
Create mode:
node scripts/fdk_file_fetcher.js \
--file-path "@gofynd/theme-template/page-layouts/single-checkout/shipment/single-page-shipment" \
--extension "jsx" \
--call-path "theme/page-layouts/single-checkout/checkout/checkout.jsx" \
--mode "create" \
--output "theme/page-layouts/single-checkout"
chat. In create mode, default output is project root.jsx, tsx, js, ts, less, css, scss, sass.development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.