Loading...
Loading...
Qiita API for Japanese tech articles. Use when user mentions "Qiita", "Japanese tech blog", or asks about Qiita posts.
npx skill4agent add vm0-ai/vm0-skills qiitaexport QIITA_TOKEN=your_access_tokenbash -c '...'# Good - wraps curl in bash -c, pipe is outside
bash -c 'curl -H "Authorization: Bearer ${QIITA_TOKEN}" https://api.qiita.com/api/v2/users'
# Bad - environment variable with pipe causes issues
curl -H "Authorization: Bearer ${QIITA_TOKEN}" https://api.qiita.com/api/v2/usersread_qiitawrite_qiitaitemusertagcommentauthscripts/qiita.sh item search --query "React hooks"
scripts/qiita.sh item search --query "tag:Python" --per-page 20
scripts/qiita.sh item search --query "user:username title:tutorial"| Parameter | Required | Default | Description |
|---|---|---|---|
| --query | Yes | - | Search query (supports tag:, user:, title:, body:, stocks:) |
| --page | No | 1 | Page number |
| --per-page | No | 20 | Items per page (max 100) |
scripts/qiita.sh item get --id "article_id"scripts/qiita.sh item mine --per-page 10scripts/qiita.sh item post --title "Article Title" --body "# Content" --tags "Python,Tutorial"
scripts/qiita.sh item post --title "Draft Post" --body-file ./article.md --tags "React" --private| Parameter | Required | Default | Description |
|---|---|---|---|
| --title | Yes | - | Article title |
| --body | Yes* | - | Article body in Markdown |
| --body-file | Yes* | - | Read body from file (alternative to --body) |
| --tags | Yes | - | Comma-separated tags (max 5) |
| --private | No | false | Create as private article |
scripts/qiita.sh item update --id "article_id" --title "New Title" --body "Updated content"scripts/qiita.sh item delete --id "article_id"scripts/qiita.sh user mescripts/qiita.sh user get --id "username"scripts/qiita.sh user items --id "username" --per-page 10scripts/qiita.sh user stocks --id "username"scripts/qiita.sh user followers --id "username"
scripts/qiita.sh user following --id "username"scripts/qiita.sh tag list --per-page 20
scripts/qiita.sh tag list --sort count| Parameter | Required | Default | Description |
|---|---|---|---|
| --page | No | 1 | Page number |
| --per-page | No | 20 | Tags per page |
| --sort | No | count | Sort by: count or name |
scripts/qiita.sh tag get --id "Python"scripts/qiita.sh tag items --id "JavaScript" --per-page 10scripts/qiita.sh comment list --item-id "article_id"scripts/qiita.sh comment post --item-id "article_id" --body "Great article!"scripts/qiita.sh comment delete --id "comment_id"scripts/qiita.sh auth verify| Operator | Example | Description |
|---|---|---|
| tag: | | Filter by tag |
| user: | | Filter by author |
| title: | | Search in title |
| body: | | Search in body |
| stocks: | | Filter by stock count |
| created: | | Filter by date |
tag:React title:hooks stocks:>50# Search for Python tutorials
scripts/qiita.sh item search --query "tag:Python title:tutorial" --per-page 5
# Get specific article
scripts/qiita.sh item get --id "abc123def456"# Post from command line
scripts/qiita.sh item post --title "Getting Started with Docker" --body "# Introduction
Docker is a containerization platform..." --tags "Docker,DevOps,Tutorial"
# Post from file
scripts/qiita.sh item post --title "My Technical Article" --body-file ./my-article.md --tags "Programming"# Get trending tags
scripts/qiita.sh tag list --per-page 10 --sort count
# Get user's articles
scripts/qiita.sh user items --id "famous_author" --per-page 5--private