open-index/open-npm huggingface dataset:
npm package: @m_shahin/mimic
Description: CLI for installing Mimic skills into AI agent skill directories
Author: Mohamed Megid
Latest version: 0.1.1

# @m_shahin/mimic

CLI for installing skills from the Mimic registry into local AI agent skill directories.

## Commands

```bash
npx @m_shahin/mimic config set api-url https://mimic.company.com
npx @m_shahin/mimic search report
npx @m_shahin/mimic add report-builder -a claude
npx @m_shahin/mimic add report-builder -a cursor,claude
npx @m_shahin/mimic add ./local-skill-folder -a claude
```

## Development

```bash
npm install
npm run build
node dist/index.js search report
node dist/index.js add report-builder -a claude
```

## Local Smoke Tests

Verified flows:

- registry search: `node dist/index.js search report`
- registry install: `node dist/index.js add report-builder -a claude`
- local folder install: `node dist/index.js add ./sample-skill -a codex`

## Configuration

Configure the API once:

```bash
mimic config set api-url https://mimic.company.com
mimic config get api-url
mimic config show
```

Resolution order:

1. `MIMIC_API_URL`
2. saved config file
3. fallback: `http://localhost:8000`

Environment variables:

- `MIMIC_API_URL` — defaults to `http://localhost:8000`
- `MIMIC_GLOBAL` — set to `1` to install globally by default

## Supported Agents

- `claude`
- `cursor`
- `copilot`
- `codex`
- `opencode`
- `sky`

## Publish Notes

- package name: `@m_shahin/mimic`
- executable name: `mimic`
- published one-off usage:

```bash
npx @m_shahin/mimic search report
npx @m_shahin/mimic add report-builder -a claude
```

To publish:

```bash
npm login
npm publish --access public
```