AgentStack
SKILL verified MIT Self-run

Codebuddy Ide Vs Codebuddy Code Hook Integration

skill-ccppvv-agent-skills-codebuddy-ide-vs-codebuddy-code-hook-integration · by ccppvv

|

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add skill-ccppvv-agent-skills-codebuddy-ide-vs-codebuddy-code-hook-integration

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Codebuddy Ide Vs Codebuddy Code Hook Integration? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

CodeBuddy IDE vs CodeBuddy Code Hook Integration

Problem

A desktop companion, status widget, or automation reacts correctly to CodeBuddy Code sessions, but does nothing when only CodeBuddy IDE is open or actively being used.

Context / Trigger Conditions

Use this skill when all or most of the following are true:

  • The project registers hooks into ~/.codebuddy/settings.json
  • Runtime status changes are driven by hook scripts or log polling
  • The local app receives updates through an HTTP endpoint such as /state
  • CodeBuddy CLI / Code events work, but IDE-only activity does not
  • Repository searches show CodeBuddy Code support, but no ACP, IDE event API, or IDE-specific hook integration

Typical symptoms:

  • ~/.codebuddy/settings.json already contains hook commands, but the app stays idle when only CodeBuddy IDE is used
  • The project distinguishes editors only as code / cursor, not codebuddy
  • There is no fallback telemetry except hook events or log polling

Solution

  1. Separate CodeBuddy Code from CodeBuddy IDE mentally first
  • ~/.codebuddy/settings.json belongs to the CodeBuddy Code / CLI configuration layer.
  • Do not assume it provides IDE work-status events.
  1. Verify the existing integration path
  • Check whether the repository writes hooks to ~/.codebuddy/settings.json
  • Check whether hook scripts post { state, session_id, event, agent_id } to a local server
  • Confirm whether the status server only updates on incoming hook/log events
  1. Search for IDE-native support

Look for any of the following:

  • ACP / acp
  • IDE plugin or extension code that emits work-state events
  • CodeBuddy IDE-specific config files or APIs
  • editor === "codebuddy" or similar editor normalization

If none exist, the project likely supports CodeBuddy Code only, not IDE-native activity.

  1. Check whether hooks are actually installed
  • If ~/.codebuddy/settings.json contains the hook commands, then installation is likely fine
  • If the app still does not react to IDE-only activity, the missing piece is event source support, not hook registration
  1. Check backup detection paths

Some projects have a backup “process is running” detection path for startup recovery.

  • If that path only checks processes like claude, codex, copilot, gemini, it will not help CodeBuddy IDE
  • Even if a registry contains codebuddy-code, a separate hardcoded startup detector may still omit it
  1. Conclude the root cause explicitly

The root cause is usually:

  • The project is integrated with CodeBuddy Code hooks, not CodeBuddy IDE work-state events
  • Therefore opening the IDE alone produces no state events for the app to consume
  1. Pick the correct fix direction

Choose one of these depending on product intent:

  • If only CodeBuddy Code support is intended:

update docs/UI text to make that distinction explicit

  • If CodeBuddy IDE should also drive status:

add a real IDE event source, such as:

  • IDE-specific hook integration
  • IDE extension/plugin bridge
  • ACP/session bridge if the IDE exposes one
  • a polling mechanism over an IDE-owned state/log source

Verification

A diagnosis is confirmed when:

  • ~/.codebuddy/settings.json already has the expected hook commands
  • Repository search shows support for CodeBuddy Code but not IDE-native integration
  • The local status server updates only through hook/log inputs
  • Using CodeBuddy IDE alone does not generate any incoming status events

Example

A pet app posts all agent activity through /state and installs hooks into ~/.codebuddy/settings.json. The repo contains:

  • a codebuddy-code agent definition
  • hook registration for target codebuddy
  • a hook script that detects codebuddy / codebuddy-code
  • no ACP references
  • no editor: "codebuddy" normalization

Result: CodeBuddy Code sessions animate the pet, but opening CodeBuddy IDE alone does not. The issue is not broken hook installation; it is that the project has no CodeBuddy IDE event bridge.

Notes

  • A project may partially support CodeBuddy via CLI hooks while still lacking IDE support
  • Backup startup detection is often misleading because it can be hardcoded separately from the main agent registry
  • If docs say “supports CodeBuddy” without saying “CodeBuddy Code”, users will often assume IDE-native support exists

References

  • https://www.codebuddy.ai/docs/zh/cli/settings — confirms .codebuddy/settings.json is part of CodeBuddy Code / CLI configuration

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.