1. Conduid
  2. Agents
  3. Agentihooks
MCP server · Agents

Agentihooks

Hook system and MCP tool server for Claude Code agents. Designed for agenticore — fork and extend for custom workflows.

48Fair

Scored 20 hours ago · breakdown

About Agentihooks

Agentihooks is an MCP server published by the-cloud-clockwork in the Agents category: hook system and MCP tool server for Claude Code agents. Designed for agenticore — fork and extend for custom workflows. Conduid read 28 tools from its source: brain_refresh, brain_status, channel_acknowledge, channel_clear, channel_list, channel_publish and 22 more. No package is published for it, so it installs from a source checkout.

The repository has 1 stars and 2 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include agenticore and hooks.

Install

From source
git clone https://github.com/the-cloud-clockwork/agentihooks

Tools (28)

brain_refreshForce the brain adapter to re-read its source and republish to the brain channel.
brain_statusReturn current brain adapter state: source type, path, entry count, channel.
channel_acknowledgeAcknowledge a broadcast message — stops it from re-injecting for this session.
ParameterTypeDescription
message_id *stringThe broadcast message ID to acknowledge
session_idstringTHIS session's own id, shown to you at session start. The ack is recorded against it, so it must name a real session — required under a network MCP transport, which has no per-caller environment to fall back on.
channel_clearClear broadcast messages.
ParameterTypeDescription
channelstringChannel name to clear (optional)
message_idstringSpecific message ID to clear (optional)
channel_listList all channels with active (non-expired) messages.
channel_publishPublish a message to a named broadcast channel.
ParameterTypeDescription
channel *stringChannel name (e.g. "brain", "ops-alerts", "deploy-status")
message *stringMessage content to broadcast
severitystring"info", "alert", or "critical" (default: info)
ttl_secondsintegerTime-to-live in seconds (default: 3600)
condition_clearDelete a condition file. Only when the operator asks to remove/clear/delete
ParameterTypeDescription
cwdstringas in condition_list.
file *stringthe condition's file name.
scopestring"global", "shared", "user", "profile" or "directory" when the name exists in several layers.
session_id *stringyour session id (from the SessionStart banner).
condition_listList condition layers (bundle, profiles, runtime, directory), the active
ParameterTypeDescription
cwdstringdirectory whose repository's directory layer to include; defaults to the session's project directory.
condition_setCreate a condition: a script agentihooks runs on every matching tool call.
ParameterTypeDescription
cwdstringdirectory inside the target repository for scope="directory".
languagestring"bash", "python" or "filter" (script is the filter YAML, checked against the filter schema; written as <step>-<matcher>-<name>.filter.yaml).
matcher *string"" or any for stop and start; otherwise any, a tool name (bash, edit, write, read, webfetch), mcp, mcp__<server>, mcp__<server>__<tool>, bash.<cli> (e.g. bash.kubectl); join alternatives with "+".
name *stringletters, digits and "_" only.
profilestringprofile name for scope="profile"; defaults to the chain's first.
replacebooleanoverwrite an existing condition with the same file name.
run_asyncbooleanrun detached; its output is ignored.
scopestring"global" (bundle-wide; ~/.agentihooks when no bundle is linked), "shared" (the shared bundle), "user" (the personal user bundle), "profile" (one profile of the chain), or "directory" (<git-root>/.agentihooks/conditions of the current repository).
script *stringthe script body.
session_id *stringyour session id (from the SessionStart banner).
step *string"pre" (before the tool runs), "post" (after it succeeds), "stop" (when the agent stops; exit 2 or decision deny keeps it working) or "start" (at SessionStart; context only, it can never deny or rewrite).
condition_showReturn the script of an active condition by file name (see condition_list).
ParameterTypeDescription
cwdstringas in condition_list.
file *stringthe condition's file name, e.g. "pre-bash.kubectl-readonly.sh".
enforcement_clearClear enforcement messages.
ParameterTypeDescription
cwdstringDirectory inside the target repository; defaults to the session's project directory.
enforcement_idstringSpecific enforcement ID to clear (optional)
localbooleanClear from the current repository's store instead of the global one.
tagstringTag to clear all matching enforcements (optional)
enforcement_listList active enforcements with their cadence and tag.
ParameterTypeDescription
cwdstringDirectory inside the target repository; defaults to the session's project directory.
localbooleanList only the current repository's entries.
enforcement_setRegister a drumbeat enforcement that re-injects every N tool calls.
ParameterTypeDescription
cadenceintegerRe-inject every N tool calls. Required, must be >= 1.
cwdstringDirectory inside the target repository; defaults to the session's project directory.
localbooleanStore it in the current repository only (see above).
matcherstringOptional tool matcher; the enforcement is then delivered only on matching tool calls and its cadence counts those calls only. Grammar: any, bash, edit, mcp, mcp__<server>, mcp__<server>__<tool>, bash.<cli> (e.g. bash.kubectl); join alternatives with "+".
messagestringReminder text to inject for type=message.
pathstringAbsolute UTF-8 rule file path required for type=rule. Its complete current contents are read on every injection.
tagstringOptional tag for grouping (lets you clear-by-tag later).
typestringEnforcement type: message (default) or rule.
memory_clearClear ALL memories. Requires confirm=true.
ParameterTypeDescription
confirmbooleanMust be true to proceed with deletion
memory_deleteDelete a specific memory by ID.
ParameterTypeDescription
memory_id *stringUUID of the memory to delete
memory_recallRecall recent memories, optionally filtered by session, tags, or time.
ParameterTypeDescription
limitintegerMaximum results to return (default: 10)
session_idstringFilter by source session ID
since_hoursintegerOnly return memories from the last N hours (0 = no limit)
tagsstringComma-separated tags to filter by (all must match)
memory_saveSave a memory for future recall across sessions.
ParameterTypeDescription
content *stringThe memory text to store
session_idstringSource session ID (defaults to "manual")
summarystringShort one-line summary (auto-generated from first 100 chars if empty)
tagsstringComma-separated tags for categorization (e.g., "architecture,fastapi")
memory_searchSearch memories by keyword across content, summary, and tags.
ParameterTypeDescription
limitintegerMaximum results to return (default: 10)
query *stringSearch keyword or phrase
tagsstringComma-separated tags to filter by (all must match)
recall_getReturn one recall item in full: its whole text, parent chain and comments.
ParameterTypeDescription
ref *stringan item key from recall_search ("<ledger>/tasks/rc6") or a ref inside the scope ("tasks/rc6").
scopestringas in recall_search.
recall_searchSearch tasks, phases, comments, chat, handoffs and learned notes of earlier
ParameterTypeDescription
authorstringonly records by this author.
kindsstringcomma separated record kinds, e.g. "task,comment,handoff".
limitintegermost hits returned.
periodstring"SINCE", "SINCE..UNTIL" or "..UNTIL"; each an ISO time, epoch milliseconds or a span back from now such as 1d or 3h.
query *stringwords, a task id such as rc6, a ref such as tasks/rc6, or a PR number such as #6774.
scopestring"" for your own swarm, a ledger or swarm slug, or "all" for every swarm.
seatstringonly records under seats/<seat>/.
recall_sourcesList the indexed ledgers and swarms with record and item counts, last
recall_timelineList recall items in time order, oldest first.
ParameterTypeDescription
kindsstringas in recall_search.
limitintegermost entries returned.
periodstringas in recall_search.
scopestringas in recall_search.
session_getReturn one session's harness, projects, tasks, source timestamps and sources.
ParameterTypeDescription
session_uid *stringa session_uid from session_list or a search hit.
session_listList retained sessions inside your grant with harness, projects, tasks, source timestamps and sources.
ParameterTypeDescription
cursorstringnext_cursor from an earlier page of the same listing.
limitintegermost sessions per page, 1 to 50.
projectsstringcomma separated projects narrowing your grant; empty for every granted project.
session_recordsExpand a search hit's citation to the exact records and archived source text it was built from.
ParameterTypeDescription
afterintegerextra records after the cited range, 0 to 20.
beforeintegerextra records before the cited range, 0 to 20.
citation *stringthe citation object of a search hit, as JSON.
cursorstringnext_cursor from an earlier page of the same expansion.
limitintegermost records per page, 1 to 200.
session_searchSearch session evidence inside your grant. Each hit carries a citation for session_records.
ParameterTypeDescription
limitintegermost hits, 1 to 50.
projectsstringcomma separated projects narrowing your grant.
query *stringwords, identifiers or "quoted phrases".
transcript_getGet transcript entries for a specific session.
ParameterTypeDescription
last_nintegerNumber of most recent entries to return (default: 50)
session_id *stringSession ID to retrieve
transcript_searchSearch through past conversation transcripts in agent.log.
ParameterTypeDescription
limitintegerMaximum results (default: 20)
query *stringSearch keyword or phrase
session_idstringFilter to a specific session

Security checks

6 checks have not been run yet.

Questions

About Agentihooks

How do I install Agentihooks?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Agentihooks safe to use with an AI agent?

Its trust score is 48 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Agentihooks still maintained?

Yes — the last commit was 23 hours ago. The repository has 1 stars and 2 forks.

What tools does Agentihooks provide?

Conduid read 28 tools from the source: brain_refresh, brain_status, channel_acknowledge, channel_clear, channel_list, channel_publish, condition_clear, condition_list and 20 more. 24 of them publish their parameters, listed under Tools above.