plain-portal
БесплатноБез исполняемых скриптовНе проверенOpen a remote Python shell on a production machine via encrypted tunnel. Use when you need to inspect production data, debug issues, run queries, or transfer…
от dropseed★ 1 043 звезды на GitHubОб этом скилле
Remote Portal Session
Open an encrypted tunnel to a remote machine and run Python code on it.
1. Start the remote side and connect
The remote side must be running first. Either start it yourself (if you have access to the platform CLI) or ask the user to start it:
| Platform | Command |
|---|---|
| Heroku | heroku run plain portal start --read-only |
| Fly.io | fly ssh console -C "plain portal start --read-only" |
| Kubernetes | kubectl exec -it deploy/app -- plain portal start --read-only |
| Docker | docker exec -it container plain portal start --read-only |
| SSH | ssh server plain portal start --read-only |
start requires either --read-only or --read-write. Always use --read-only unless the user has explicitly asked for database writes.
Both start and connect are long-running foreground processes. If you run start yourself, use run_in_background so you don't block. Once it prints a portal code (e.g. 7-crossword-pineapple), read the code from the output. If the user ran it, ask them for the code.
Then connect (also use run_in_background):
uv run plain portal connect <code>
2. Run commands
Execute Python code on the remote machine:
uv run plain portal exec "<code>"
Output streams line by line in real time. The last expression's value is returned (like a REPL).
For long-running commands, increase the timeout (default 120s):
uv run plain portal exec --timeout 300 "<code>"
For machine-readable output:
uv run plain portal exec --json "<expression>"
File transfer
uv run plain portal pull <remote_path> <local_path>
uv run plain portal push <local_path> <remote_path>
Push is restricted to /tmp/ on the remote machine.
3. Disconnect
Kill the connect process to end the session. This also frees the remote process.
Important
- Use
--read-onlysessions. Database writes will fail unless the remote was started with--read-write --yes, which should only happen at the user's explicit request. - Each
execgets a fresh namespace. Variables don't carry between commands. Put setup and queries in one code block if they depend on each other. - Use
plain portal execfor quick queries. For heavy data export, write to/tmp/on the remote andpullthe file. - If the session drops, the remote side must be restarted and a new code used to reconnect.
Установить plain-portal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл plain-portal?
Open a remote Python shell on a production machine via encrypted tunnel. Use when you need to inspect production data, debug issues, run queries, or transfer files.
Как установить скилл plain-portal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plain-portal запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic