← Back to Skills Marketplace
caopulan

Bark Notification

by caopulan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
54
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bark-notification
Description
Send Bark (day.app) push notifications after Codex completes a task. Use when one Codex or Claude run is finished, or when you need to notify on task complet...
README (SKILL.md)

Bark Notify

Overview

Send a Bark push notification after each Codex task. Use the helper script to resolve the project name and post to the Bark API.

User Preparation

1) Configure environment variables

You can add the following lines to ~/.bashrc (Linux) or ~/.zshrc (macOS) to set environment variables:

export CODEX_MACHINE_NAME="Machine-name" # e.g., Macbook
export CODEX_BARK_KEY="" # https://api.day.app/\x3CCODEX_BARK_KEY>/
export CODEX_BARK_BASE_URL="https://api.day.app"

2) Add instruction in project AGENTS.md

For example, you can add this instruction to AGENTS.md:

Use skill bark-notify to notify users when each agent run is finished or when any notifications would be sent to users.

Workflow

1) Provide a project name source (optional)

  • To override the folder name, define a project name in AGENTS.md using one of:
    • YAML frontmatter: project_name: My Project (or name:)
    • A plain line: Project Name: My Project or 项目名称:我的项目
  • If no name is found, the script uses the project folder name.

2) Send the notification at task completion

  • Generate a short task title (3-8 words).
  • Pick an execution status: success, failed, partial, blocked, etc.
  • Write a brief result summary; avoid secrets.

Run:

python3 ~/.codex/skills/bark-notify/scripts/send_bark_notification.py \
  --task-title \"...\" \
  --status \"success\" \
  --summary \"...\" \
  --project-name \"...\"

Resources

  • scripts/send_bark_notification.py: Send the Bark notification and resolve the project name.
Usage Guidance
Install only if you are comfortable sending device name, project name, task status, and a short task summary to your configured Bark service. Keep summaries generic, avoid secrets or confidential project details, and only set CODEX_BARK_BASE_URL to an endpoint you trust.
Capability Assessment
Purpose & Capability
The stated purpose is task-completion push notifications, and the script only builds a notification from task title, status, summary, machine name, and project name, then posts it to the configured Bark endpoint.
Instruction Scope
The skill can be configured to run after each agent task and asks the agent to write a short summary; this is disclosed, but users should keep summaries generic because notification text can contain project context.
Install Mechanism
The artifact contains one markdown skill file and one Python helper script, with no package installation, install-time execution, or dependency download behavior.
Credentials
It reads CODEX_* environment variables and optionally reads AGENTS.md to derive a project name, then sends metadata to Bark; this is proportionate for a notification skill and described in the instructions.
Persistence & Privilege
There is no background worker, privilege escalation, credential harvesting, file mutation, or local persistence beyond user-supplied shell environment configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bark-notification
  3. After installation, invoke the skill by name or use /bark-notification
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of bark-notify skill. - Sends Bark (day.app) push notifications when a Codex or Claude task finishes. - Notifies with device name, project name, status, and a short summary. - Supports custom project name detection from AGENTS.md or uses folder name. - Includes a helper script to post notifications to the Bark API. - Environment variables allow easy configuration for multiple devices.
Metadata
Slug bark-notification
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Bark Notification?

Send Bark (day.app) push notifications after Codex completes a task. Use when one Codex or Claude run is finished, or when you need to notify on task complet... It is an AI Agent Skill for Claude Code / OpenClaw, with 54 downloads so far.

How do I install Bark Notification?

Run "/install bark-notification" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bark Notification free?

Yes, Bark Notification is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Bark Notification support?

Bark Notification is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bark Notification?

It is built and maintained by caopulan (@caopulan); the current version is v1.0.0.

💬 Comments