lsp
Skill by synonymdev
Calls the Blocktank LSP REST API from the command line to test Lightning channel workflows during Bitkit development. Built for developers working on regtest or the staging API.
Install lsp
Built from the published package, never by AI.
git clone --depth 1 https://github.com/synonymdev/bitkit-android /tmp/bitkit-android && mkdir -p ~/.claude/skills && cp -r /tmp/bitkit-android/.claude/plugins/blocktank-api/skills/lsp ~/.claude/skills/lspRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/synonymdev/bitkit-android /tmp/bitkit-android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/bitkit-android/.claude/plugins/blocktank-api/skills/lsp ~/.gemini/antigravity-cli/skills/lspAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant knowledge of the Blocktank Lightning Service Provider (LSP) REST API, which Bitkit uses. It includes a wrapper script, ./lsp, that sends GET or POST requests to any endpoint and prints the raw JSON response. The default base URL points to the staging API, and the BLOCKTANK_API_URL variable can point it at a local instance. No authentication is required.
The skill documents common workflows: purchasing a channel, creating a CJIT channel, and force closing a channel. It also covers regtest tools for mining blocks, depositing sats and paying invoices, plus a script that bulk-pays invoices on a Bitkit dev build. It is aimed at developers testing Lightning channel flows during Bitkit development.
Written from the project's SKILL.md and checked against it.
What it can do
- Service infoRetrieves LSP node pubkeys, channel size limits and fee rates from GET /info.
- Channel ordersCreates, fetches, opens and fee-estimates channel orders through the /channels endpoints.
- CJIT channelsCreates a just-in-time channel entry and checks its status.
- Regtest chain toolsMines blocks and deposits sats to an address on regtest.
- Regtest paymentsPays a Lightning invoice and checks the payment status on regtest.
- Force closeForce closes a channel on regtest using its funding transaction ID and vout.
- Gift endpointsCreates a gift order, pays a gift invoice and reads gift info.
- Bulk invoice paymentsRuns a script that creates and pays many invoices on a Bitkit dev build.
What you need
- Bitkit dev debug build installed (for automated invoice payments)
- Wallet set up in the app (for automated invoice payments)
- LDK node running with an open channel that has inbound capacity (for automated invoice payments)
- ADB connected (for automated invoice payments)
Try asking
- Create a Blocktank channel order for 100000 sats on regtest
- Mine 6 blocks on the regtest chain using the Blocktank API
- Force close a channel using its order ID on regtest
Good to know
- Regtest tools work on regtest only.
- The default base URL is the staging API.
- Automated invoice payments need a Bitkit dev debug build and ADB.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/plugins/blocktank-api/skills/lsp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to lsp
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
lsp: common questions
Does the Blocktank LSP skill need an API key?
No. The source states that no authentication is required and that all requests and responses use JSON.
Which endpoints only work on regtest?
The regtest tools are marked as regtest only. They include mining blocks, depositing sats, paying invoices, checking payment status and force closing a channel.
How can I use a local Blocktank instance instead of staging?
Set the BLOCKTANK_API_URL environment variable. The source gives http://localhost:9000/api as an example for a local instance.
How do I install lsp?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lsp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is lsp safe to use?
It scores 55 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lsp?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
