setup

Automate repository setup with Bun, dotenvx, and macOS keychain encryption.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/takimoto-sketch/medica-agent --skill setup-takimoto-sketch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup
Source: https://github.com/takimoto-sketch/medica-agent/tree/main/.claude/skills/setup
Command: npx skills add https://github.com/takimoto-sketch/medica-agent --skill setup-takimoto-sketch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides an interactive, state-aware guide to complete a repository's initial setup while enforcing secure handling of environment variables and preventing secret exposure in chat. It inspects the environment, skips completed steps, and walks users through installing Bun and dotenvx, installing dependencies, creating .env/.env.project, performing dotenvx encryption, and integrating with the macOS keychain.

Core Features & Use Cases

  • State-aware diagnosis: Detects missing components such as Bun, dotenvx, node_modules, .env, and .env.project and only presents necessary steps.
  • Secure env workflows: Guides users through creating .env, encrypting with dotenvx, importing keys into macOS keychain, and safe re-encryption after edits without exposing secrets.
  • Platform-aware instructions: Provides OS-specific guidance (macOS, WSL, Windows) and sandbox network permission advice for services like Shopify and Backlog.

Quick Start

Run an interactive setup that diagnoses the current environment and walks me through missing steps for Bun, dotenvx, dependencies, .env/.env.project creation, and keychain-based encryption.

Frequently Asked Questions about setup

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

FAQPage Schema
How do I set up dotenvx encryption for environment variables in a Bun project?

To set up dotenvx encryption in a Bun project, you install Bun and dotenvx, create .env and .env.project files, and run the encryption process. This setup Skill automates that workflow, detects missing components, and guides you through keychain integration.

What is the best way to store dotenvx encryption keys securely on macOS?

The best way to store dotenvx encryption keys on macOS is by integrating them with the native keychain. This setup process imports your encryption keys into the macOS keychain, preventing secret exposure in chat while maintaining accessibility for your project.

Do I need Homebrew to configure Bun and dotenvx on macOS?

Homebrew is optional for configuring Bun and dotenvx on macOS. This setup process provides platform-aware instructions that check your current environment and guides you through installation and dependency setup with or without Homebrew installed.

How do I re-encrypt environment variables after editing a .env file?

To re-encrypt environment variables after editing a .env file, you follow a guided re-encryption workflow to update the encrypted values safely. This setup process provides a state-aware workflow to re-encrypt your updated environment files without exposing plaintext secrets.

Can I use this interactive setup for secure env configuration on Windows or WSL?

Yes, you can use this secure env configuration setup on Windows or WSL. The process provides platform-aware instructions and sandbox network permission advice tailored for macOS, WSL, and Windows environments during the Bun and dotenvx setup.

Why does my dotenvx setup skip certain steps like dependency installation?

Your dotenvx setup skips certain steps like dependency installation because the process uses state-aware diagnosis to inspect your environment. It detects existing components such as Bun, node_modules, and .env files, only presenting the necessary missing steps to complete your setup.