Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hidao80-post-chatwork
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/post-chatwork
What's inside
- Skill name
post-chatwork- Description
- Post a message or file to a Chatwork room. Use when Claude needs to notify the user via Chatwork during a chat session or routine execution.
- License
- MIT
- Instructions
- 203 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Post Chatwork Skill
- [Post Chatwork Skill](#post-chatwork-skill)
- [When to Use](#when-to-use)
- [Prerequisites](#prerequisites)
- [Environment Variables (`env` section in `settings.json`)](#environment-variables-env-section-in-settingsjson)
- [Room Config File](#room-config-file)
- [Steps](#steps)
- [Step 1: Load room config](#step-1-load-room-config)
- [Step 2: Determine the target room](#step-2-determine-the-target-room)
- [Step 3: Determine the message content](#step-3-determine-the-message-content)
- [Step 4: Detect the OS](#step-4-detect-the-os)
- [Step 5: Call the API](#step-5-call-the-api)
- [Text-only post](#text-only-post)
- [File upload (message optional)](#file-upload-message-optional)
- [Step 6: Report the result](#step-6-report-the-result)
- [Adding or Changing Rooms](#adding-or-changing-rooms)
- [Chatwork API Reference](#chatwork-api-reference)
## When to Use
- When the user asks to "post to Chatwork" or "send via Chatwork"
- When a routine execution result needs to be reported via Chatwork
- When notifying asynchronously about task completion or errors
## Prerequisites
### Environment Variables (`env` section in `settings.json`)
| Variable | Description |
|----------|-------------|
| `CHATWORK_API_KEY` | Chatwork API token |
### Room Config File
Create `.claude/references/chatwork.json` at the project root:
```json
{
"rooms": [
{ "name": "My Room", "id": "109627044" },
{ "name": "Meeting Room", "id": "111111" }
]
}
```
Additional per-room settings (e.g. `mention_to`, `prefix`) can be added to this file in the future.
## Steps
### Step 1: Load room config
Search for `.claude/references/chatwork.json` by walking up from the project root.
**Windows (PowerShell)**
```powershell
# Walk up directories to find .claude/references/chatwork.json
$dir = $PWD.Path
while ($dir -and -not (Test-Path "$dir\.claude\references\chatwork.json")) {
$parent = Split-Path $dir -Parent
if ($parent -eq $dir) { $dir = $null; break }
$dir = $parent
}
if (-not $dir) { throw "chatwork.json not found. Please create .claude/references/chatwork.json" }
$config = Get-Content "$dir\.claude\references\chatwork.json" -Raw -Encoding UTF8 | ConvertFrom-Json
$rooms = $config.rooms
```
**Linux / macOS (bash)**
```bash
dir="$PWD"
while [ "$dir" != "/" ]; do
[ -f "$dir/.claude/references/chatwork.json" ] && break
dir="$(dirname "$dir")"
done
[ ! -f "$dir/.claude/references/chatwork.json" ] && echo "chatwork.json not found" && exit 1
rooms_json="$(cat "$dir/.claude/references/chatwork.json")"
```
### Step 2: Determine the target room
- If the user specifies a destination → select the room matching by `name`
- If not specified → list available rooms and ask the user to choose
- If only one room exists → use it automatically
**Windows (PowerShell)**
```powershell
# Select by name
$targetRoom = $rooms | Where-Object { $_.name -eq "My Room" }
# If only one room
$targetRoom = $rooms[0]
```
**Linux / macOS (bash)**
```bash
# Select by name using jq
ROOM_ID="$(echo "$rooms_json" | jq -r '.rooms[] | select(.name=="My Room") | .id')"
# If only one room
ROOM_ID="$(echo "$rooms_json" | jq -r '.rooms[0].id')"
```
### Step 3: Determine the message content
- **Message text** (required): the body of the message to send
- **File path** (optional): absolute path to a file to attach
### Step 4: Detect the OS
- **Windows**: PowerShell environment → use `Invoke-RestMethod`
- **Linux / macOS**: detected via `uname` → use `curl`
### Step 5: Call the API
#### Text-only postFrom hidao80/ai-agent-plugins, MIT.
More from hidao80/ai-agent-plugins
- 0.479score
security-audit
hidao80
Checks the security of a repository.
SkillCFreshness: CClaude Code +9 - 0.473score
modernize-repo
hidao80
Modernize your repository with Docker, CI/CD, and README updates for JavaScript, Python and PHP.
SkillCFreshness: CClaude Code +9 - 0.469score
code-analyze
hidao80
Record and update project documentation in a readable state for both humans and AI.
SkillCFreshness: CClaude Code +9 - 0.469score
sbi-feedback
hidao80
Provide structured positive feedback for work reports using the SBI (Situation, Behavior, Impact) feedback framework.
SkillCFreshness: CClaude Code +9 - 0.435score
commit-msg
hidao80
Propose concise commit messages.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 24, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hidao80/ai-agent-plugins
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hidao80
- 0.479score
security-audit
hidao80
Checks the security of a repository.
SkillCFreshness: CClaude Code +9 - 0.473score
modernize-repo
hidao80
Modernize your repository with Docker, CI/CD, and README updates for JavaScript, Python and PHP.
SkillCFreshness: CClaude Code +9 - 0.469score
code-analyze
hidao80
Record and update project documentation in a readable state for both humans and AI.
SkillCFreshness: CClaude Code +9 - 0.469score
sbi-feedback
hidao80
Provide structured positive feedback for work reports using the SBI (Situation, Behavior, Impact) feedback framework.
SkillCFreshness: CClaude Code +9 - 0.435score
commit-msg
hidao80
Propose concise commit messages.
SkillCFreshness: CClaude Code +9
Cite this page
post-chatwork skill. Agent Mart. https://agentmart.dev/skills/hidao80-post-chatwork (last updated 2026-10-24)