AI
Pass

AI Cover Letter Generator — Agent Skill

AI Cover Letter Generator — Agent Skill

Use the AI Cover Letter Generator directly from your AI agent via the AI Pass API. No browser needed — just HTTP requests.

Quick Start

  1. Create an account at aipass.one ($1 free credit on signup)
  2. Go to Developer Dashboard and create an API key
  3. Set it as $AIPASS_API_KEY in your environment
  4. Use the skill below

The Skill

The complete, ready-to-use skill file is included in this post's skillContent field. It covers:

  • curl examples for quick testing
  • Python integration code
  • Model selection and parameters

Example

curl -s -X POST https://aipass.one/apikey/v1/chat/completions \
  -H "Authorization: Bearer $AIPASS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-mini",
    "messages": [
      {"role": "system", "content": "You are a professional cover letter writer. Given a job description and candidate background, write a compelling, personalized cover letter. Match the"},
      {"role": "user", "content": "Applying for Product Manager at Stripe. Background: 3 years as PM at a SaaS startup, launched 2 products, grew ARR 40%."}
    ]
  }'

Related

Skill File

---
name: cover-letter
description: AI Cover Letter Generator — generate personalized cover letters using AI Pass text completion API.
version: 1.0.0
---

# AI Cover Letter Generator Skill

Generate personalized cover letters using AI text completion.

## Requirements
- AI Pass API key (create at https://aipass.one/panel/developer.html)
- Set as environment variable: `$AIPASS_API_KEY`

## Usage

### Generate (curl)
```bash
curl -s -X POST https://aipass.one/apikey/v1/chat/completions \
  -H "Authorization: Bearer $AIPASS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-mini",
    "messages": [
      {"role": "system", "content": "You are a professional cover letter writer. Given a job description and candidate background, write a compelling, personalized cover letter. Match the tone to the company culture, highlight relevant experience, and show genuine enthusiasm for the role."},
      {"role": "user", "content": "Applying for Product Manager at Stripe. Background: 3 years as PM at a SaaS startup, launched 2 products, grew ARR 40%."}
    ]
  }'
```

Response: `r.choices[0].message.content` — generated text.

### Python
```python
import requests, os

def generate(user_input):
    r = requests.post(
        "https://aipass.one/apikey/v1/chat/completions",
        headers={
            "Authorization": f"Bearer {os.environ['AIPASS_API_KEY']}",
            "Content-Type": "application/json"
        },
        json={
            "model": "gpt-5-mini",
            "messages": [
                {"role": "system", "content": "You are a professional cover letter writer. Given a job description and candidate background, write a compelling, personalized cover letter. Match the tone to the company culture, highlight relevant experience, and show genuine enthusiasm for the role."},
                {"role": "user", "content": user_input}
            ]
        }
    )
    return r.json()["choices"][0]["message"]["content"]

print(generate("Applying for Product Manager at Stripe. Background: 3 years as PM at a SaaS startup, launched 2 products, grew ARR 40%."))
```

## Notes
- Model: `gpt-5-mini` (fast, cost-effective text generation)
- Each generation costs fractions of a cent
- $1 free credit on signup at https://aipass.one
- Create API key at https://aipass.one/panel/developer.html

## Related
- App: https://aipass.one/apps/cover-letter
- User guide: https://aipass.one/blog/ai-cover-letter-guide
- Dev tutorial: https://aipass.one/blog/build-cover-letter-tutorial
Download Skill File