debanjandhar12/logseq-astro-box/working-with-bash-and-pyodide

Claude Code and agent skill by debanjandhar12/logseq-astro-box

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when running Bash commands, processing data with Python, performing symbolic calculations, fetching video transcripts, or interacting with Logseq through logseq_lib.

Install

npx vskill@latest install debanjandhar12/logseq-astro-box/working-with-bash-and-pyodide

SKILL.md

Working with Bash

The Bash tool runs in a virtual read-only filesystem.

Reading a file in the skill store

bash
<% #includeFile %>internal/READ_SKILL_FILE.sh<% /includeFile %>

Working with Pyodide

Pyodide is available in the Bash environment with the same read-only virtual filesystem. Use python, python3, or py to run Python 3.14. Skills and command files can be modified through logseq_lib, which also provides programmatic access to Logseq pages and blocks.

Pyodide supports external Pyodide-compatible packages through micropip. Always pin exact versions, and install and use packages in the same command. Packages are not preserved between Bash tool invocations, and there is no pip wheel cache.

Basic Usage Examples

Symbolic integration

Use SymPy to integrate x**2 and print the result as LaTeX:

bash
python - <<'PY'
<% #includeFile %>internal/SYMPY_INTEGRATION.py<% /includeFile %>
PY
YouTube transcript

Fetch a public English transcript with youtube-transcript-api:

bash
python - <<'PY'
<% #includeFile %>internal/YOUTUBE_TRANSCRIPT.py<% /includeFile %>
PY
For Bilibili, check <% &virEnvUserPath %>/skills/working-with-bash-and-pyodide/examples/BILIBILI_TRANSCRIPT.py.
Convert an existing PNG asset to grayscale
bash
python - <<'PY'
<% #includeFile %>internal/GRAYSCALE_ASSET.py<% /includeFile %>
PY

Using Logseq Lib

Import logseq_lib and await its methods with a single argument dictionary. Similar to your tools, you need to run the commit tool to persist changes.

Listing available Logseq methods
bash
python - <<'PY'
<% #includeFile %>internal/LIST_LOGSEQ_METHODS.py<% /includeFile %>
PY
Creating a page and a child block
bash
python - <<'PY'
<% #includeFile %>internal/CREATE_PAGE.py<% /includeFile %>
PY
Creating a skill
bash
python - <<'PY'
<% #includeFile %>internal/CREATE_SKILL.py<% /includeFile %>
PY

You can pair the above command with read_raw_skill to modify existing skills.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
119
Repository forks
13
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/debanjandhar12/logseq-astro-box/working-with-bash-and-pyodide/badge)](https://verified-skill.com/skills/debanjandhar12/logseq-astro-box/working-with-bash-and-pyodide)

Something wrong with this skill or its page? Tell us.