> ## Documentation Index
> Fetch the complete documentation index at: https://docs.znift.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code Skill

> Install a Claude Code skill to manage Znift tasks via curl — no MCP server needed.

The Znift skill teaches Claude Code how to manage your tasks using the REST API directly. No MCP server configuration required — it works via `curl` commands.

## Installation

<Steps>
  <Step title="Set your API key">
    Add your Znift API key as an environment variable. Get one from [Profile > API Keys](https://znift.com/dashboard/api-keys).

    ```bash theme={null}
    export ZNIFT_API_KEY="znift_your-key-here"
    ```

    Add this to your shell profile (`.zshrc`, `.bashrc`) to persist it across sessions.
  </Step>

  <Step title="Download the skill">
    ```bash theme={null}
    curl -o ~/.claude/skills/znift.md https://znift.com/znift-skill.md
    ```
  </Step>

  <Step title="Use it">
    In Claude Code, just ask about your tasks:

    ```
    What do I have to do today?
    ```

    Claude will use the skill to call the Znift API and show your tasks.
  </Step>
</Steps>

## What You Can Do

The skill supports all Znift API operations:

* **Daily briefing** — "What's on my plate today?"
* **Create tasks** — "Add a task for Friday: deploy v2.0"
* **Toggle completion** — "Mark the migration task as done"
* **Reschedule** — "Push the standup prep to next week"
* **Search** — "Find tasks about deployment"
* **Weekly review** — "How was my week?"
* **Archive/restore** — "Archive all completed tasks from yesterday"

## How It Works

The skill is a Markdown file that tells Claude Code:

1. Your API base URL (`https://znift.com`)
2. How to authenticate (via the `ZNIFT_API_KEY` environment variable)
3. All available endpoints with curl examples
4. Workflow patterns for common requests

Claude Code reads this and uses the Bash tool to run `curl` commands against your Znift account.

## Updating

To get the latest version of the skill:

```bash theme={null}
curl -o ~/.claude/skills/znift.md https://znift.com/znift-skill.md
```

## MCP vs Skill

|                          | MCP Server                                    | Claude Code Skill |
| ------------------------ | --------------------------------------------- | ----------------- |
| **Setup**                | Config JSON + restart                         | One curl command  |
| **Works in**             | Claude Desktop, Claude Code, Cursor, OpenClaw | Claude Code only  |
| **How it calls API**     | Native MCP tool calls                         | curl via Bash     |
| **Requires MCP support** | Yes                                           | No                |

If your AI tool supports MCP, the [MCP server](/ai-agents/mcp-setup) is the recommended approach. The skill is a lightweight alternative for Claude Code users who prefer a simpler setup.
