ModsCode / Claude Code Mods / Ranking / paf-tasks
paf-tasks
phone-a-friend, made legible: every review as a thread of rounds with its verdict and findings, live progress while a reviewer works, and the agent sessions that need you
What it does
- Draws a band above the prompt, a pane
- Adds /paf
- Watches Bash calls and can refuse them
- Hooks classic.SessionStart, session.start, ui.close
- Keeps its own state between turns
Good points
- No network calls
- Written in TypeScript
- Handles errors
- Writes no files
Code to start from
A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like paf-tasks by Bruno Freiberger (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/freibergergarcia-paf-tasks/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
// the band above the prompt; what else goes there is drawn under it
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const { Box, Text } = $.ui.resolve(e)
const glyph = '…'
const backend = '…'
const title = '…'
const tail = '…'
return (
<Box flexDirection="column">
<Box paddingX={1}>
<Text wrap="truncate-end">
<Text>
{`${glyph} `}
</Text>
<Text bold>
{backend}
</Text>
<Text>
{` · ${title}`}
</Text>
<Text dimColor>
{` · ${tail}`}
</Text>
</Text>
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "phone-a-friend" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const wanting = '…'
const problem = '…'
const title = '…'
const about = '…'
const glyph = '…'
const right = '…'
const glyph2 = '…'
const right2 = '…'
const glyph3 = '…'
const right3 = '…'
const skipped = '…'
return (
<Box flexDirection="column">
<Box columnGap={3} rowGap={0} flexWrap="wrap" paddingRight={4}>
<Text>
<Text color="cyan">
{"◇ "}
</Text>
<Text bold>
phone-a-friend
</Text>
</Text>
<Box columnGap={2}>
<Button plain hotkey="1" label="Reviews" />
<Button plain hotkey="2" label="Agents" />
<Text color="yellow">
{`● ${wanting}`}
</Text>
</Box>
</Box>
<Box marginTop={1}>
<Text color="red" wrap="wrap">
{problem}
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold wrap="truncate-end">
{title}
</Text>
<Text dimColor wrap="truncate-end">
{about}
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{"… "}
</Text>
<Text>
{`${glyph} `}
</Text>
<Text>
{`${glyph} `}
</Text>
<Text>
{`${glyph} `}
</Text>
</Text>
</Box>
<Box flexDirection="column">
<Button plain hotkey="m" dimColor label="fewer rounds" />
</Box>
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
OTHER BRANCHES HERE
</Text>
<Box justifyContent="space-between" columnGap={2}>
<Box columnGap={1} flexShrink={1}>
<Text>
{glyph}
</Text>
<Button plain dimColor label={`${title}`} />
</Box>
<Text dimColor>
{right}
</Text>
</Box>
<Box justifyContent="space-between" columnGap={2}>
<Box columnGap={1} flexShrink={1}>
<Text>
{glyph2}
</Text>
<Button plain dimColor label={`${title}`} />
</Box>
<Text dimColor>
{right2}
</Text>
</Box>
<Box justifyContent="space-between" columnGap={2}>
<Box columnGap={1} flexShrink={1}>
<Text>
{glyph3}
</Text>
<Button plain dimColor label={`${title}`} />
</Box>
<Text dimColor>
{right3}
</Text>
</Box>
<Button plain dimColor label="fewer branches" />
</Box>
<Text dimColor wrap="wrap">
{`${skipped} more worktree is not read: the panel reads 16.`}
</Text>
<Box columnGap={2} flexWrap="wrap">
<Button plain hotkey="j" label="older" dimColor />
<Button plain hotkey="k" label="newer" dimColor />
<Button plain hotkey="b" label="next branch" dimColor />
<Button plain hotkey="w" label="all worktrees" dimColor />
<Button plain hotkey="r" label="refresh" dimColor />
<Text dimColor>
esc: back to the prompt
</Text>
</Box>
<Text dimColor wrap="truncate-end">
click a row · or ctrl+x tab for the keys
</Text>
</Box>
)
})
}
The mod's own code
Shown under the mod's licence (Apache-2.0); its text is below. Keep the notice if you copy these lines.
mods/paf-tasks/hooks/register.tsx lines 1005–1044 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (e.props.hasSurvey || band === 'never' || !shows(panel, 'calls')) return next(e)
if (band === 'auto' && (await read($, onScreenAtom))) return next(e)
const tasks = await read($, tasksAtom)
const timeline = await read($, timelineAtom)
const frame = await read($, frameAtom)
const hereRoot = await read($, hereAtom)
await read($, polledAtom) // redraw on every poll so the clocks tick
const now = await $.clock.now()
// The band is about this worktree: another one's reviewer is the panel's business.
const mine = tasks.filter(task => hereRoot === null || task.repoPath === hereRoot)
const live = mine.filter(isActive)
const recent = mine.find(task => {
const finished = parseTime(task.finishedAt)
return !isActive(task) && finished !== null && now - finished < RECENT_MS
})
const shown = live[0] ?? recent
if (!shown) return next(e)
const { Box, Text } = $.ui.resolve(e)
const round = roundOf(shown)
const look = lookOf(round, frame)
const step = timeline[shown.id]?.at(-1)?.text
const tail =
round.state === 'live'
? `${clock(now - (round.startedAt ?? now))}${step ? ` · ${step}` : ''}${live.length > 1 ? ` · +${live.length - 1} more` : ''}`
: `${verdictText(round)} · ${age(now - (round.finishedAt ?? now))} ago · /paf to read`
return (
<Box paddingX={1}>
<Text wrap="truncate-end">
<Text color={look.color}>{`${look.glyph} `}</Text>
<Text bold>{shown.backend}</Text>
<Text>{` · ${round.title}`}</Text>
<Text dimColor>{` · ${tail}`}</Text>
</Text>
</Box>
)
})mods/paf-tasks/hooks/register.tsx lines 1046–1205 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const { Box, Button, Markdown, Text } = $.ui.resolve(e)
const width = Math.max(28, e.props.bodyColumns)
const isInline = e.props.placement === 'inline'
const roots = await read($, rootsAtom)
const here: Here = { root: (await read($, hereAtom)) ?? (await $.session.cwd()), pane: await read($, paneAtom) }
// Read leniently: an older version of this mod may have left its own values here.
const view: PafView = panel === 'both' ? ((await read($, viewAtom)) === 'agents' ? 'agents' : 'calls') : panel
const frame = await read($, frameAtom)
const tasks = await read($, tasksAtom)
const agents = await read($, agentsAtom)
const agentsProblem = await read($, agentsProblemAtom)
await read($, polledAtom)
const now = await $.clock.now()
const gap = isInline ? 0 : 1
// Without herdr there are no agents to list, so the view goes unless it was asked for by name.
const hasAgents = shows(panel, 'agents') && (agentsProblem !== 'missing' || panel === 'agents')
const hasTabs = panel === 'both' && hasAgents
const shownView: PafView = hasAgents ? view : 'calls'
const wanting = agents.filter(agent => !isSelf(agent, here) && (agent.status === 'blocked' || agent.status === 'done')).length
// The engine draws its close mark over the top right corner: keep it clear.
const header = (
<Box columnGap={3} rowGap={0} flexWrap="wrap" paddingRight={4}>
<Text>
<Text color="cyan">◇ </Text>
<Text bold>phone-a-friend</Text>
</Text>
{hasTabs && (
<Box columnGap={2}>
<Button key="view-calls" plain hotkey="1" label="Reviews" dimColor={shownView !== 'calls'} onPress={() => update($, viewAtom, () => 'calls')} />
<Button key="view-agents" plain hotkey="2" label="Agents" dimColor={shownView !== 'agents'} onPress={() => update($, viewAtom, () => 'agents')} />
{wanting > 0 && <Text color="yellow">{`● ${wanting}`}</Text>}
</Box>
)}
</Box>
)
const hint = (text: string) => (
<Box marginTop={gap}>
<Text dimColor wrap="truncate-end">
{e.props.isFocused ? text : 'click a row · or ctrl+x tab for the keys'}
</Text>
</Box>
)
if (shownView === 'agents') {
const since = await read($, sinceAtom)
const cards = toAgentCards(agents, since, here)
// What the reviewers last said in each worktree: tasks come newest first.
const liveHere = new Map<string, Round>()
const lastHere = new Map<string, Round>()
for (const task of tasks) {
if (!task.repoPath) continue
if (isActive(task)) liveHere.set(task.repoPath, roundOf(task))
else if (!lastHere.has(task.repoPath)) lastHere.set(task.repoPath, roundOf(task))
}
const card = (item: AgentCard) => {
const look = AGENT_LOOK[item.state]
const state = item.isHere ? 'this session' : look.word
const when = item.since !== null ? ` · ${age(now - item.since)}` : ''
const place = [item.agent.number != null ? `#${item.agent.number}` : null, item.agent.agent, item.worktree ? `${item.repo} / ${item.worktree}` : item.repo]
.filter(Boolean)
.join(' · ')
// A session may sit in a folder of its worktree; the tasks are filed under the root.
const root = item.agent.cwd ? (rootOf(item.agent.cwd, roots) ?? item.agent.cwd) : null
const call = root ? liveHere.get(root) : undefined
const last = !call && root ? lastHere.get(root) : undefined
const lastLook = last ? lookOf(last, frame) : null
const isQuiet = item.state === 'idle' || item.state === 'unknown'
// A session that wants nothing takes one line: its topic, and where it is.
const right = isQuiet && !item.isHere ? place : `${state}${when}`
return (
<Box flexDirection="column">
<Box justifyContent="space-between" columnGap={2}>
<Box columnGap={1} flexShrink={1}>
<Text color={look.color}>{agentGlyph(item.state, frame)}</Text>
<Button
key={`agent-${item.agent.id}`}
plain
label={fit(item.topic, Math.max(10, width - right.length - 5))}
dimColor={isQuiet}
onPress={() => void $.process.run(['herdr', 'agent', 'focus', item.agent.id], { timeoutMs: 5_000 }).catch(() => undefined)}
/>
</Box>
{isQuiet && !item.isHere ? (
<Text dimColor>{place}</Text>
) : (
<Box flexShrink={0}>
<Text color={item.isHere ? 'cyan' : look.color}>{state}</Text>
<Text dimColor>{when}</Text>
</Box>
)}
</Box>
{(!isQuiet || item.isHere) && <Text dimColor wrap="truncate-end">{` ${place}`}</Text>}
{call && (
<Text wrap="truncate-end">
<Text color="cyan">{` ${spin(frame)} `}</Text>
<Text dimColor>{`waiting on ${call.task.backend} · ${call.title} · ${clock(now - (call.startedAt ?? now))}`}</Text>
</Text>
)}
{last && lastLook && last.finishedAt !== null && now - last.finishedAt < 24 * 3_600_000 && (
<Text wrap="truncate-end">
<Text color={lastLook.color}>{` ${lastLook.glyph} `}</Text>
<Text dimColor>{`${last.task.backend}: ${verdictText(last)} · ${age(now - last.finishedAt)} ago`}</Text>
</Text>
)}
</Box>
)
}
const group = (label: string, states: AgentState[]) => {
const list = cards.filter(item => states.includes(item.state))
return (
list.length > 0 && (
<Box flexDirection="column" marginTop={1}>
<Text dimColor bold>
{label}
</Text>
<Box flexDirection="column" rowGap={gap}>
{list.map(card)}
</Box>
</Box>
)
)
}
return (
<Box flexDirection="column">
{header}
{agentsProblem !== null && agentsProblem !== 'missing' && (
<Box marginTop={1}>
<Text color="red" wrap="wrap">
{agentsProblem}
</Text>
</Box>
)}
{agentsProblem === 'missing' && (
<Box marginTop={1} flexDirection="column">
<Text>herdr is not installed here.</Text>
<Text dimColor wrap="wrap">
This view lists the agent sessions herdr runs, so you can see which one needs you and jump to it.
</Text>
</Box>
)}
{cards.length === 0 && agentsProblem === null && (
<Box marginTop={1}>
<Text dimColor>No agent sessions in herdr right now.</Text>
</Box>
)}
{group('NEEDS YOU', ['blocked', 'done'])}
{group('WORKING', ['working'])}
{group('IDLE', ['idle', 'unknown'])}
{cards.length > 0 && hint(`enter jumps to the session${hasTabs ? ' · 1: reviews' : ''} · esc back to the prompt`)}
</Box>
)
}
const timeline = await read($, timelineAtom)
const problem = await read($, problemAtom)
const scope: PafScope = (await read($, scopeAtom)) === 'repo' ? 'repo' : 'project'Licence text (Apache-2.0)
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to the Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by the Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding any notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
Copyright 2026 Bruno Freiberger Garcia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
How to build this: Pane (panel), Deny a tool call
What its code calls
runs programsenv varsdrives Claudetool callsremembers
What its code shows
Read from the source at commit 36f4eff48261 on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.
| Decides the listing: code you can check | |
|---|---|
| Entry read | Every module hooks/hooks.json names was read.mods/paf-tasks/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.3 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs |
| Calls in the open | Network and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open |
| For you to weigh before installing | |
| Where it draws | The terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both |
| Install line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.mods/paf-tasks/hooks/register.tsx:694 a program named at run time; mods/paf-tasks/hooks/register.tsx:797 a program named at run time |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables, but reaches nothing outside |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.Apache-2.0 |
| Settings hooks | Hooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone |
| Servers it ships | MCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/ |
| Skills, commands, agents | What its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows |
| Tools and MCP | Whether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command |
| Asks of the model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command paf, prompt.submit (as the person) |
| Events it hooks | By what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (paf), tool.call (Bash) · reads: classic.SessionStart · also: session.start, ui.close, ui.render (Spinner, ToolGroup, ToolUse (+2)) · timers: clock.every, clock.after |
| Reads, by name | The environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: HERDR_PANE_ID |
| Writes, by name | The files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.the clipboard |
This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen
Install it
Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.
From its marketplace
Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:
/plugin marketplace add freibergergarcia/phone-a-friend/plugin install paf-tasks@phone-a-friend-marketplace/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (36f4eff48261). Compare them before you install. /reload-plugins loads it into a session that is already open.
Try the commit ModsCode read
No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:
git clone https://github.com/freibergergarcia/phone-a-friendgit -C phone-a-friend checkout 36f4eff48261cae90cc33efa1f87f9393bcc6cf2claude plugin validate phone-a-friend/mods/paf-tasksclaude --plugin-dir phone-a-friend/mods/paf-tasksThe validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.
Ask Claude about it
With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:
Read the ModsCode mod "freibergergarcia-paf-tasks" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- crit-tuiTomasz Tomczyk★ 1,196
- ai-maestro-secrets23blocks-OS★ 817
- remctlFederico Viticci★ 595
- task-orchestrator-modJeff Picklyk★ 208
- agent-radarHamza Zafar★ 184
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/freibergergarcia-paf-tasks/)