hosted-agents
Что он делает
Этот скилл рассказывает о проектировании ИИ-агентов, которые работают на удалённых серверах в песочницах: они обходятся без ноутбука и могут запускаться во множестве. Он нужен командам, которые создают фоновых агентов для кода или общие сессии агентов.
Когда использовать
- ✓Когда вы хотите, чтобы ИИ-агент продолжал работать в фоне без вашего устройства.
- ✓Когда нужно, чтобы много сессий агентов работали одновременно в изолированных песочницах.
- ✓Когда нескольким людям нужно разделять одну сессию агента с одним состоянием.
Ссылка на скилл
https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/hosted-agents/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Помоги спроектировать облачную настройку, где агенты для кода работают в песочницах и сохраняют сессию после того, как я закрою ноутбук.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл объясняет, как подготовить окружение до начала сессии, чтобы пользователь ждал в основном первого ответа ИИ-модели.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Hosted Agent Infrastructure
Hosted agents run in remote sandboxed environments rather than on local machines. When designed well, they provide unlimited concurrency, consistent execution environments, and multiplayer collaboration. The critical insight is that session speed should be limited only by model provider time-to-first-token, with all infrastructure setup completed before the user starts their session.
When to Activate
Activate this skill when:
- Building background coding agents that run independently of user devices
- Designing sandboxed execution environments for agent workloads
- Implementing multiplayer agent sessions with shared state
- Creating multi-client agent interfaces (Slack, Web, Chrome extensions)
- Scaling agent infrastructure beyond local machine constraints
- Building systems where agents spawn sub-agents for parallel work
Do not activate this skill for adjacent work owned by other skills:
- Designing the autonomous research loop, novelty gates, rollback policy, or merge boundaries:
harness-engineering. - Choosing supervisor, swarm, or handoff topology without hosted infrastructure concerns:
multi-agent-patterns. - Designing the tools used by a hosted agent, such as spawn/status tools or PR tools:
tool-design. - Managing file-backed state inside a session rather than the hosted runtime itself:
filesystem-context.
Core Concepts
Move agent execution to remote sandboxed environments to eliminate the fundamental limits of local execution: resource contention, environment inconsistency, and single-user constraints. Remote sandboxes unlock unlimited concurrency, reproducible environments, and collaborative workflows because each session gets its own isolated compute with a known-good environment image.
Design the architecture in three layers because each layer scales independently. Build sandbox infrastructure for isolated execution, an API layer for state management and client coordination, and client interfaces for user interaction across platforms. Keep these layers cleanly separated so sandbox changes do not ripple into clients.
Detailed Topics
Sandbox Infrastructure
The Core Challenge Eliminate sandbox spin-up latency because users perceive anything over a few seconds as broken. Development environments require cloning repositories, installing dependencies, and running build steps -- do all of this before the user ever submits a prompt.
Image Registry Pattern Pre-build environment images on a regular cadence (every 30 minutes works well) because this makes synchronization with the latest code a fast delta rather than a full clone. Include in each image:
- Cloned repository at a known commit
- All runtime dependencies installed
- Initial setup and build commands completed
- Cached files from running app and test suite once
When starting a session, spin up a sandbox from the most recent image. The repository is at most 30 minutes out of date, making the remaining git sync fast.
Snapshot and Restore Take filesystem snapshots at key points to enable instant restoration for follow-up prompts without re-running setup:
- After initial image build (base snapshot)
- When agent finishes making changes (session snapshot)
- Before sandbox exit for potential follow-up
Git Configuration for Background Agents Configure git identity explicitly in every sandbox because background agents are not tied to a specific user during image builds:
- Generate GitHub app installation tokens for repository access during clone
- Set git config
user.nameanduser.emailwhen committing and pushing changes - Use the prompting user's identity for commits, not the app identity
Warm Pool Strategy Maintain a pool of pre-warmed sandboxes for high-volume repositories because cold starts are the primary source of user frustration:
- Keep sandboxes ready before users start sessions
- Expire and recreate pool entries as new image builds complete
- Start warming a sandbox as soon as a user begins typing (predictive warm-up)
Agent Framework Selection
Server-First Architecture Structure the agent framework as a server first, with TUI and desktop apps as thin clients, because this prevents duplicating agent logic across surfaces:
- Multiple custom clients share one agent backend
- Consistent behavior across all interaction surfaces
- Plugin systems extend functionality without client changes
- Event-driven architectures deliver real-time updates to any connected cli
Частые вопросы
Что такое песочница?
Песочница это изолированное окружение, в котором агент запускает код, не затрагивая другие системы.
Зачем готовить окружение заранее?
Настройка, сделанная заранее, делает сессию быстрой, и её скорость ограничена в основном временем ответа модели.
Охватывает ли он инструменты агента?
Проектирование инструментов это отдельная тема, а этот скилл касается облачной инфраструктуры.
Подробности
Оригинальное описание автора
This skill should be used when designing hosted or background agent infrastructure: sandboxed execution, remote coding environments, warm pools, session persistence, multiplayer collaboration, self-spawning agents, or Modal-style sandboxes.
Популярность
- Звёзды на GitHub
- 18k
- Место в рейтинге
- #10644
- Лицензия
- MIT
- Обновлён
- 11.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
context-engineering-collection
18kПомогает агенту управлять тем, что попадает в контекстное окно ИИ-модели: от памяти и инструментов до систем из нескольких агентов и оценки.
advanced-evaluation
18kУчит агента оценивать ответы ИИ с помощью другого ИИ: с баллами, попарным сравнением и проверкой на смещение.
bdi-mental-states
18kУчит агента моделировать убеждения, цели и планы по подходу BDI, чтобы его решения можно было проследить и объяснить.
context-compression
18kПомогает агенту сокращать длинные ИИ-сессии до сводок, которые сохраняют решения, файлы, риски и следующие шаги.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.