{"data":{"slug":"discovered-04439e76364b29e5eb803c4cc667a5c6810575aa0462f435","title":"Orca Devcontainer \u2014 Connect Orca to a Devcontainer Repository via SSH","summary":"Connect Orca to a devcontainer repository using SSH, allowing Claude Code to run inside the container. This setup enables Orca to interact with the container without requiring repository commits, and most configuration is done locally.","url":"https:\/\/skillshunter.net\/skills\/discovered-04439e76364b29e5eb803c4cc667a5c6810575aa0462f435","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-04439e76364b29e5eb803c4cc667a5c6810575aa0462f435","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-04439e76364b29e5eb803c4cc667a5c6810575aa0462f435.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-04439e76364b29e5eb803c4cc667a5c6810575aa0462f435\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure that the `openssh-server` package is installed in the container and that the host's SSH configuration includes the correct `ProxyCommand` for connecting to the devcontainer. Also, use `gh auth setup-git` to configure Git authentication through GitHub, which is necessary for pushing changes from Orca.","instructions":"---\ndescription: Orca \u304b\u3089 devcontainer \u306e\u4e2d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078 SSH \u3067\u3064\u306a\u304e\u3001Claude Code \u3092\u52d5\u304b\u3059\u5c0e\u5165\u624b\u9806\u3067\u3042\u308b\u3002Orca \u3092 devcontainer \u3067\u4f7f\u3044\u59cb\u3081\u308b\u3068\u304d\u3001\u6a29\u9650\u3084\u9023\u7d61\u304c\u304a\u304b\u3057\u3044\u3068\u304d\u306b\u4f7f\u3046\u3002\nname: orca-devcontainer\n---\n\n# orca-devcontainer \u2014 Orca \u304b\u3089 devcontainer \u306e\u4e2d\u3067 Claude Code \u3092\u52d5\u304b\u3059\n\nOrca\uff08\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4e26\u3079\u3066\u52d5\u304b\u3059 IDE\uff09\u3092\u3001devcontainer \u306e\u4e2d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u3064\u306a\u3050\u3002Orca \u306f\u30db\u30b9\u30c8\u306e PC \u3067\u52d5\u304b\u3057\u3001SSH \u306e\u63a5\u7d9a\u5148\u3068\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u767b\u9332\u3059\u308b\u3002\u8a2d\u5b9a\u306f\u3069\u308c\u3082\u500b\u4eba\u306e\u624b\u5143\u3067\u6e08\u307f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u30b3\u30df\u30c3\u30c8\u306f\u8981\u3089\u306a\u3044\u3002\n\n\u624b\u9806\u306e\u307b\u3068\u3093\u3069\u306f\u4eba\u304c\u884c\u3046\u3002Claude \u306f\u3001\u624b\u9806\u3092\u793a\u3059\u3053\u3068\u3068\u3001\u3064\u306a\u3044\u3060\u5f8c\u306e\u78ba\u304b\u3081\u3092\u53d7\u3051\u6301\u3064\u3002\n\n## \u69cb\u6210\n\n```text\n\u30db\u30b9\u30c8\u306e Orca \u2192 ssh\uff08ProxyCommand\uff09 \u2192 docker exec \u2026 sshd -i \u2192 \u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306e Claude Code\n```\n\n- ProxyCommand \u3067\u3001\u63a5\u7d9a\u306e\u305f\u3073\u306b\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u3001\u305d\u306e\u4e2d\u306e sshd \u3092\u6a19\u6e96\u5165\u51fa\u529b\u3067\u3064\u306a\u3050\n  - \u30dd\u30fc\u30c8\u306e\u8ee2\u9001\u3082\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u3067 sshd \u3092\u5e38\u99d0\u3055\u305b\u308b\u3053\u3068\u3082\u8981\u3089\u306a\u3044\n  - VS Code \u3092\u958b\u304b\u305a\u306b\u4f7f\u3048\u308b\n- \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306e\u30d1\u30b9\u3060\u3051\u3092 Orca \u306b\u767b\u9332\u3059\u308b\n  - \u30db\u30b9\u30c8\u5074\u306e\u30d1\u30b9\u306b\u540c\u3058\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3057\u306a\u3044\u3002`.git` \u3092\u5171\u6709\u3059\u308b\u305f\u3081\u3001worktree \u306e\u8a18\u9332\u304c\u4e21\u65b9\u304b\u3089\u66f8\u304b\u308c\u3066\u58ca\u308c\u308b\n\n## \u5c0e\u5165\u3059\u308b\n\n### 1. \u30b3\u30f3\u30c6\u30ca\u306b sshd \u3092\u5165\u308c\u308b\n\n- `openssh-server` \u3092\u5165\u308c\u308b\u3002\u30db\u30b9\u30c8\u9375\u304c\u7121\u3051\u308c\u3070 `ssh-keygen -A` \u3067\u4f5c\u308b\n- \u30db\u30b9\u30c8\u3067\u5c02\u7528\u306e\u9375\u3092\u4f5c\u308a\u3001\u516c\u958b\u9375\u3092\u30b3\u30f3\u30c6\u30ca\u306e\u5229\u7528\u8005\u306e `~\/.ssh\/authorized_keys` \u306b\u7f6e\u304f\n- \u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u308a\u76f4\u3059\u3068\u3001\u3069\u3061\u3089\u3082\u6d88\u3048\u308b\n  - \u6bce\u56de\u4f7f\u3046\u306a\u3089\u3001Dockerfile \u3084\u4f5c\u6210\u5f8c\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5165\u308c\u308b\u3002\u500b\u4eba\u306e\u8a2d\u5b9a\u306b\u7559\u3081\u308b\u306a\u3089\u3001\u4f5c\u308a\u76f4\u3059\u305f\u3073\u306b\u5165\u308c\u76f4\u3059\n\n### 2. \u30db\u30b9\u30c8\u306e `~\/.ssh\/config` \u306b\u63a5\u7d9a\u5148\u3092\u8db3\u3059\n\n```text\nHost myapp-devcontainer\n  User <\u30b3\u30f3\u30c6\u30ca\u306e\u5229\u7528\u8005>\n  IdentityFile ~\/.ssh\/orca_devcontainer\n  IdentitiesOnly yes\n  AddKeysToAgent yes\n  UseKeychain yes\n  ProxyCommand sh -c 'docker start <\u30b3\u30f3\u30c6\u30ca ID> >\/dev\/null && exec docker exec -i -u root <\u30b3\u30f3\u30c6\u30ca ID> \/usr\/sbin\/sshd -i'\n```\n\n- ProxyCommand \u306f `sh -c` \u3067\u5305\u3080\n  - OpenSSH \u306f ProxyCommand \u306e\u5148\u982d\u306b `exec` \u3092\u8db3\u3059\u305f\u3081\u3001`&&` \u3067\u3064\u306a\u3044\u3060\u30b3\u30de\u30f3\u30c9\u304c\u305d\u306e\u307e\u307e\u3067\u306f\u52d5\u304b\u306a\u3044\n- `IdentitiesOnly yes` \u3092\u4ed8\u3051\u308b\n  - \u7121\u3044\u3068 agent \u306e\u5225\u306e\u9375\u304b\u3089\u8a66\u3057\u3001\u8a66\u884c\u56de\u6570\u306e\u4e0a\u9650\u3067\u5207\u3089\u308c\u308b\u3053\u3068\u304c\u3042\u308b\n- ProxyCommand \u306e\u3042\u308b\u63a5\u7d9a\u5148\u3067\u306f\u3001Orca \u306f\u30db\u30b9\u30c8\u306e `ssh` \u3092\u975e\u5bfe\u8a71\u3067\u4f7f\u3044\u3001\u9375\u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u805e\u3051\u306a\u3044\n  - \u9375\u3092 agent \u306b\u5165\u308c\u3066\u304a\u304f\u3002macOS \u306a\u3089 `UseKeychain yes` \u3068 `ssh-add --apple-use-keychain ~\/.ssh\/orca_devcontainer` \u3067\u3001\u518d\u8d77\u52d5\u5f8c\u3082\u6b8b\u308b\n- \u30b3\u30f3\u30c6\u30ca ID \u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u308a\u76f4\u3059\u3068\u5909\u308f\u308b\u3002\u305d\u306e\u305f\u3073\u306b ProxyCommand \u3092\u76f4\u3059\n- \u78ba\u304b\u3081\u65b9: \u30db\u30b9\u30c8\u306e\u7aef\u672b\u3067 `ssh myapp-devcontainer true` \u304c\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u805e\u304b\u305a\u306b\u7d42\u308f\u308b\n\n### 3. Orca \u306b\u767b\u9332\u3059\u308b\n\n- \u63a5\u7d9a\u5148\u306b\u3001\u624b\u9806 2 \u306e `Host` \u306e\u540d\u524d\u3092\u767b\u9332\u3059\u308b\n- \u30ea\u30dd\u30b8\u30c8\u30ea\u306f git \u3068\u3057\u3066\u767b\u9332\u3059\u308b\uff08folder \u3067\u306f\u306a\u3044\uff09\n  - folder \u306e\u307e\u307e\u3060\u3068\u3001Orca \u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u304c git worktree \u306b\u306a\u3089\u305a\u3001\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u3059\u5165\u308c\u7269\u306b\u306a\u308b\n  - \u767b\u9332\u306e\u7a2e\u985e\u306f\u3001\u5f8c\u304b\u3089 CLI \u3067\u5909\u3048\u3089\u308c\u306a\u3044\u3002\u753b\u9762\u3067\u767b\u9332\u3057\u76f4\u3059\n- \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3001\u5171\u6709\u306e\u30b5\u30fc\u30d3\u30b9\uff08DB \u306a\u3069\uff09\u3092\u8d77\u52d5\u3057\u306a\u3044\n  - \u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u308b\u305f\u3073\u306b worktree \u306e\u4e2d\u3067\u540c\u3058\u30b5\u30fc\u30d3\u30b9\u304c\u5225\u306b\u8d77\u52d5\u3057\u3001\u30dd\u30fc\u30c8\u3092\u53d6\u308b\n\n### 4. Claude \u306e\u8d77\u52d5\u306e\u3057\u304b\u305f\u3092\u63a5\u7d9a\u5148\u3054\u3068\u306b\u5408\u308f\u305b\u308b\n\n- Orca \u306e Agent \u306e\u8a2d\u5b9a\u306f\u3001\u63a5\u7d9a\u5148\uff08\u30db\u30b9\u30c8\u306e PC\u30fbSSH \u306e\u63a5\u7d9a\u5148\uff09\u3054\u3068\u306b\u5225\u306b\u6301\u3064\n  - \u30db\u30b9\u30c8\u5074\u3067\u6a29\u9650\u306e\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u3082\u3001SSH \u306e\u63a5\u7d9a\u5148\u306f\u65e2\u5b9a\u306e\u307e\u307e\u6b8b\u308b\u3002`--dangerously-skip-permissions` \u304c\u65e2\u5b9a\u306b\u306a\u3063\u3066\u3044\u305f\u3053\u3068\u304c\u3042\u308b\n  - SSH \u306e\u63a5\u7d9a\u5148\u306e Claude \u306e\u8d77\u52d5\u5f15\u6570\u3092\u3001\u4f7f\u3044\u305f\u3044 mode\uff08`--permission-mode auto` \u306a\u3069\uff09\u306b\u5408\u308f\u305b\u308b\n- \u52d5\u3044\u3066\u3044\u308b Claude \u306e\u8d77\u52d5\u5f15\u6570\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u3067 `ps -eo args | grep claude` \u3092\u6253\u3063\u3066\u78ba\u304b\u3081\u308b\n  - \u753b\u9762\u306b\u306f mode \u304c\u51fa\u306a\u3044\u3053\u3068\u304c\u3042\u308b\n- \u30bb\u30c3\u30b7\u30e7\u30f3\u540c\u58eb\u3067\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u3084\u308a\u53d6\u308a\u3059\u308b\u306a\u3089\u3001\u5168\u54e1\u306e mode \u3092\u305d\u308d\u3048\u308b\n  - mode \u304c\u9055\u3046\u3068\u3001\u53d7\u3051\u53d6\u308b\u5074\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4eba\u306e\u627f\u8a8d\u5f85\u3061\u306b\u3057\u3001\u671f\u9650\u5207\u308c\u3067\u6368\u3066\u308b\n\n### 5. git \u306e\u8a8d\u8a3c\u3092 gh \u306b\u5bc4\u305b\u308b\n\n- `gh auth setup-git` \u3092\u6253\u3061\u3001git \u306e\u8a8d\u8a3c\u3092 gh \u306b\u4efb\u305b\u308b\n  - VS Code \u306e devcontainer \u304c\u5165\u308c\u308b credential helper \u306f\u3001VS Code \u304c\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u9593\u3057\u304b\u52d5\u304b\u306a\u3044\u3002Orca \u3060\u3051\u3067\u4f7f\u3046\u3068 push \u304c\u901a\u3089\u306a\u3044\n\n## \u4f7f\u3046\u3068\u304d\u306e\u6ce8\u610f\n\n- VS Code \u3092\u9589\u3058\u308b\u3068\u30b3\u30f3\u30c6\u30ca\u304c\u6b62\u307e\u308b\u3053\u3068\u304c\u3042\u308b\n  - \u6b21\u306e\u63a5\u7d9a\u3067 ProxyCommand \u304c\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u76f4\u3059\u304c\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u3067\u5e38\u99d0\u3055\u305b\u3066\u3044\u305f\u30b5\u30fc\u30d3\u30b9\uff08DB \u306a\u3069\uff09\u306f\u81ea\u5206\u3067\u8d77\u52d5\u3057\u76f4\u3059\n- Orca \u306b Claude Code \u3092\u64cd\u4f5c\u3055\u305b\u308b\uff08HQ \u304b\u3089\u5b50\u3092\u8d77\u52d5\u3059\u308b\u306a\u3069\uff09\u3068\u304d\u306f\u3001Orca \u306e\u8a2d\u5b9a\u300cAllow this host's orca CLI to control Orca\u300d\u3092\u30aa\u30f3\u306b\u3059\u308b\n- Claude Code \u306e worktree\uff08`.claude\/worktrees\/`\uff09\u306f\u3001SSH \u306e\u63a5\u7d9a\u5148\u3067\u306f Orca \u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u51fa\u306a\u3044\n  - \u4e26\u3079\u3066\u898b\u305f\u3044\u3068\u304d\u306f\u3001Orca \u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\uff08Orca \u304c\u4f5c\u308b git worktree\uff09\u3067\u5b50\u3092\u8d77\u52d5\u3059\u308b\n- Claude \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u5207\u308a\u66ff\u3048\u308b\u3068\u3001\u5225\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3069\u3046\u3057\u304c `ListAgents` \u306b\u51fa\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308b\n  - \u76f4\u3057\u65b9\u306f\u3001\u958b\u767a\u3092\u5b50\u30bb\u30c3\u30b7\u30e7\u30f3\u3078\u59d4\u306d\u308b\u53f8\u4ee4\u5854\u306e\u30b9\u30ad\u30eb\u306e\u3001Orca \u5411\u3051\u306e\u624b\u9806\u306b\u3042\u308b\n\n## \u304a\u304b\u3057\u3044\u3068\u304d\u306b\u898b\u308b\u6240\n\n| \u75c7\u72b6 | \u307e\u305a\u898b\u308b\u6240 |\n| --- | --- |\n| Orca \u304b\u3089\u3064\u306a\u304c\u3089\u306a\u3044 | \u30db\u30b9\u30c8\u3067 `ssh myapp-devcontainer true`\u3002\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u805e\u304b\u308c\u308b\u306a\u3089\u9375\u304c agent \u306b\u7121\u3044 |\n| \u6a29\u9650\u306e\u78ba\u8a8d\u304c\u51fa\u306a\u3044\u30fb\u51fa\u3059\u304e\u308b | \u63a5\u7d9a\u5148\u3054\u3068\u306e Agent \u306e\u8a2d\u5b9a\u3068\u3001`ps -eo args` \u306e\u8d77\u52d5\u5f15\u6570 |\n| \u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u4fdd\u7559\u30fb\u671f\u9650\u5207\u308c\u306b\u306a\u308b | \u9001\u308b\u5074\u3068\u53d7\u3051\u308b\u5074\u306e mode |\n| \u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u304c worktree \u306b\u306a\u3089\u306a\u3044 | \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u767b\u9332\u306e\u7a2e\u985e\uff08git \u304b folder \u304b\uff09 |\n| \u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u308b\u305f\u3073\u306b\u30dd\u30fc\u30c8\u304c\u57cb\u307e\u308b | \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u30b9\u30af\u30ea\u30d7\u30c8 |\n| push \u3067\u8a8d\u8a3c\u306b\u5931\u6557\u3059\u308b | `gh auth setup-git` \u3092\u6253\u3063\u305f\u304b |\n","use_cases":["Connecting Orca to a devcontainer for code execution","Setting up SSH access to a devcontainer for remote development","Running Claude Code inside a devcontainer from Orca"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/nanase\/claude-skills\/blob\/b23836abbd3974fccd805579bfb31a9c18c69492\/plugins\/agent-ops\/skills\/orca-devcontainer\/SKILL.md","source_commit":"b23836abbd3974fccd805579bfb31a9c18c69492","license":null,"version":null,"listing_approved_at":"2026-12-02","created_at":"2026-11-30T09:02:40.000000Z","updated_at":"2026-12-02T09:15:40.000000Z","seo_title":"Orca Devcontainer Setup with SSH and Claude Code","seo_description":"Learn how to connect Orca to a devcontainer using SSH and run Claude Code inside the container. This guide covers setting up SSH access, configuring Orca, and ensuring\u987a\u5229\u7684","seo_keywords":["Orca devcontainer setup","SSH devcontainer connection","Claude Code in devcontainer","Orca and devcontainer integration","Remote development with Orca"]}}