mentat-container

Manage devcontainer lifecycles in Mentat worktrees with Docker.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/matheushenriquefs/mentat --skill mentat-container
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mentat-container
Source: https://github.com/matheushenriquefs/mentat/tree/main/.agents/skills/mentat-container
Command: npx skills add https://github.com/matheushenriquefs/mentat --skill mentat-container

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the management of the devcontainer lifecycle for Mentat worktrees, enabling the start, stop, execution of commands within, and diagnostics of devcontainers.

Core Features & Use Cases

  • Devcontainer Lifecycle Management: Start, stop, execute commands inside, and diagnose devcontainers.
  • Worktree Awareness: Synchronizes with Mentat worktrees, ensuring container configurations match the project's state.
  • Use Case: When working on a Mentat project, use this Skill to launch the devcontainer associated with your worktree, run tests, and stop the container when finished.

Quick Start

Use the mentat-container up command to start the devcontainer for the current worktree.

Frequently Asked Questions about mentat-container

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate the devcontainer lifecycle for Git worktrees?

You can automate the devcontainer lifecycle for Git worktrees by synchronizing container configurations with your project state. This allows you to start, stop, and execute commands within devcontainers consistently across worktrees.

How do I start a devcontainer inside a Mentat worktree?

To start a devcontainer inside a Mentat worktree, you run the `mentat-container up` command. This launches the container associated with your current worktree, ensuring the environment matches your project's state.

Do I need Docker to run devcontainers with Mentat?

Yes, Docker is required to run devcontainers with Mentat. It provides the containerization platform necessary to build, start, and manage the lifecycle of your development containers.

What is devcontainer worktree synchronization and when do I need it?

Devcontainer worktree synchronization ensures container configurations match your project's state across different branches. You need it when working on multiple Mentat project features simultaneously to maintain consistent development environments.

Can I run tests and diagnostics inside a devcontainer without manual SSH access?

Yes, you can run tests and diagnostics inside a devcontainer without manual SSH access. The Skill provides commands to execute tasks directly within the devcontainer, allowing you to run tests and diagnose issues seamlessly.