Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/cwc-workshops
/ functions
Functions
761 in github.com/anthropics/cwc-workshops
⨍
Functions
761
◇
Types & classes
99
↓ 53 callers
Function
check
(name, cond, detail = '')
agent-battle/event/test/smoke.mjs:32
↓ 33 callers
Method
has
True if inventory contains at least n of `name`.
agent-battle/harness/client.py:70
↓ 30 callers
Function
logEvent
(level: "info" | "warning" | "error", event: string, fields: Record<string, unknown> = {})
research-desk/src/lib/logger.ts:21
↓ 28 callers
Function
cn
(...inputs: ClassValue[])
production-ready-agent/solution/lib/utils.ts:4
↓ 28 callers
Function
cn
(...inputs: ClassValue[])
production-ready-agent/starter/lib/utils.ts:4
↓ 26 callers
Method
close
(self)
agent-battle/harness/logging_.py:249
↓ 23 callers
Function
open
(path: string)
research-desk/src/components/MemoryPanel.tsx:46
↓ 21 callers
Method
status
()
agent-battle/event/lib/relay.mjs:262
↓ 19 callers
Function
loadConfig
()
research-desk/src/lib/config.ts:55
↓ 19 callers
Function
post
(path, body, headers = wkHdr)
agent-battle/event/test/smoke.mjs:44
↓ 18 callers
Function
getClient
()
research-desk/src/lib/anthropic.ts:24
↓ 16 callers
Function
loadPrompt
(name: string, substitutions: Record<string, string> = {})
research-desk/src/lib/prompts.ts:11
↓ 15 callers
Function
emit
(buf: list, ts: datetime, **fields)
ship-your-first-managed-agent/data/generate_log.py:48
↓ 14 callers
Function
get
(path, headers = {})
agent-battle/event/test/smoke.mjs:49
↓ 13 callers
Function
handle
(routeName: string, fn: () => Promise<unknown>)
research-desk/src/app/api/api-route.ts:12
↓ 12 callers
Function
_t
(name: str, desc: str, props: dict, required: list[str])
agent-decomposition/agents/before/tools.py:174
↓ 11 callers
Function
cmd
(s)
agent-battle/bot/bot.js:699
↓ 10 callers
Function
_state
Build a minimal /state-shaped dict with sensible defaults.
agent-battle/harness/probes.py:42
↓ 10 callers
Function
load
()
production-ready-agent/starter/components/ChatPanel.tsx:85
↓ 9 callers
Function
link
(label: string, kind: ConsoleResourceKind, id: string)
research-desk/src/app/api/desk/status/route.ts:28
↓ 9 callers
Function
validateScorecard
(payload: unknown)
research-desk/src/lib/scorecard.ts:73
↓ 8 callers
Function
_read_csv
(name: str)
agent-decomposition/agents/sandbox_tools.py:47
↓ 8 callers
Method
render
(self)
agent-battle/harness/prompts.py:101
↓ 8 callers
Function
reportAchievement
(kind, id)
agent-battle/bot/bot.js:799
↓ 8 callers
Function
saveConfig
(config: DeskConfig)
research-desk/src/lib/config.ts:65
↓ 8 callers
Function
sessionUrl
(sessionId: string)
research-desk/src/lib/config.ts:116
↓ 7 callers
Function
_safe
Strip characters outside a conservative allowlist before interpolating free-text CSV fields into subagent prompts.
agent-decomposition/agents/sandbox_tools.py:41
↓ 7 callers
Function
mcpInitThenCall
(path, callName, callArgs, extraHeaders = {})
agent-battle/event/test/smoke.mjs:75
↓ 7 callers
Function
rateLimit
(cls, keyFn = (req) => req.ip)
agent-battle/event/server.mjs:181
↓ 7 callers
Method
save
()
agent-battle/event/lib/board.mjs:75
↓ 7 callers
Function
write
(e)
production-ready-agent/solution/lib/sse.ts:20
↓ 6 callers
Function
_read_csv
(name: str)
agent-decomposition/agents/before/tools.py:20
↓ 6 callers
Method
_write
(self, obj: dict)
agent-battle/harness/logging_.py:120
↓ 6 callers
Function
api
(path: string, init: RequestInit = {})
research-desk/src/lib/client-types.ts:50
↓ 6 callers
Function
check
(name, ok, detail = '')
agent-battle/event/test/live-verify.mjs:10
↓ 6 callers
Function
countShapes
* Count direct children of `key` under spTree. fast-xml-parser returns a * single child as an object and multiple children as an array, so normalise.
eval-driven-agent-development/src/parse-pptx.ts:174
↓ 6 callers
Function
disposeInner
Unmount an inner root and remove its container from the host. Caller must * ensure this runs outside the outer React commit (defer via task/microtas
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:731
↓ 6 callers
Function
edgarIdentity
()
research-desk/src/lib/config.ts:81
↓ 6 callers
Function
env
(k: string)
production-ready-agent/solution/lib/anthropic.ts:22
↓ 6 callers
Function
env
(k: string)
production-ready-agent/starter/lib/anthropic.ts:22
↓ 6 callers
Function
mcp
(path, method, params, id, headers = {})
agent-battle/event/test/live-verify.mjs:12
↓ 6 callers
Method
note_usage
(self, usage: Any)
agent-battle/harness/logging_.py:130
↓ 6 callers
Function
patch
(rel, replacements)
agent-battle/bot/patch-viewer.cjs:17
↓ 6 callers
Function
setState
(s: RecorderState, err?: string)
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts:53
↓ 6 callers
Function
sleep
(ms)
agent-battle/bot/bot.js:504
↓ 6 callers
Function
stub
(label: string, hint: string)
production-ready-agent/starter/lib/anthropic.ts:39
↓ 6 callers
Function
type
(selector, text)
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:195
↓ 5 callers
Function
_now
()
agent-battle/harness/logging_.py:31
↓ 5 callers
Method
act
Send POST /action. Returns the parsed JSON; never raises on ok=false (the caller decides how to handle action failures). `action_name
agent-battle/harness/client.py:162
↓ 5 callers
Function
agent_name_for
Unique-per-attendee agent name without leaking API-key material. A random 8-hex suffix is generated once and cached in .stockpilot_ids.json,
agent-decomposition/agents/cma.py:64
↓ 5 callers
Function
allUnits
()
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:40
↓ 5 callers
Function
avg
(xs: number[])
eval-driven-agent-development/src/graders/judge/judge.ts:17
↓ 5 callers
Function
p
(n: number)
how-we-claude-code/phase-3-verify/scripts/record.ts:122
↓ 5 callers
Function
queryParams
(request: Request)
research-desk/src/app/api/api-route.ts:31
↓ 5 callers
Function
registerUnit
(unit: VerifiableUnit<P>)
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:17
↓ 5 callers
Function
rejectCrossSite
(request: Request)
research-desk/src/app/api/api-route.ts:41
↓ 5 callers
Method
sessionWindow
()
agent-battle/event/lib/board.mjs:131
↓ 5 callers
Function
verifyAttrs
( attrs: Record<string, string | number | boolean | null | undefined> )
how-we-claude-code/phase-3-verify/src/verify/core/contract.ts:20
↓ 5 callers
Function
write_csv
(path: Path, rows: list[dict])
agent-decomposition/data/seed.py:233
↓ 4 callers
Function
_append_jsonl
(name: str, record: dict)
agent-decomposition/agents/sandbox_tools.py:59
↓ 4 callers
Function
_append_jsonl
(name: str, record: dict)
agent-decomposition/agents/before/tools.py:25
↓ 4 callers
Function
_simulate_subagent_latency
Stand-in for the original anthropic.messages.create() round-trip.
agent-decomposition/agents/sandbox_tools.py:71
↓ 4 callers
Function
_text
(content)
ship-your-first-managed-agent/provided.py:82
↓ 4 callers
Function
alert_banner
()
ship-your-first-managed-agent/ui.py:15
↓ 4 callers
Function
chat_panel
()
ship-your-first-managed-agent/provided.py:88
↓ 4 callers
Function
csvCell
(value: unknown)
research-desk/src/lib/scorecard.ts:127
↓ 4 callers
Function
disposeInner
(inner: { root: Root; container: HTMLElement })
how-we-claude-code/phase-3-verify/src/verify/harness/UnitPage.tsx:173
↓ 4 callers
Method
format
Optional display formatter for numeric results (default: String(v)).
eval-driven-agent-development/src/graders/types.ts:27
↓ 4 callers
Function
isClean
(text)
agent-battle/event/lib/moderation.mjs:41
↓ 4 callers
Function
mcData
()
agent-battle/bot/bot.js:264
↓ 4 callers
Function
ms
(since: number)
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:179
↓ 4 callers
Function
previewRequest
( method: "GET" | "POST", path: string, options: { query?: Record<string, string>; body?: unknown } = {}
research-desk/src/lib/preview.ts:28
↓ 4 callers
Function
registerVerifier
(verifier: Verifier)
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:26
↓ 4 callers
Function
save_ids
(ids: dict)
agent-decomposition/agents/cma.py:60
↓ 4 callers
Function
score
(results: list[dict])
agent-decomposition/evals/run.py:37
↓ 4 callers
Function
write
(e)
production-ready-agent/starter/lib/sse.ts:20
↓ 3 callers
Function
_call
(system: str, user: str, max_tokens: int = 1024)
agent-decomposition/agents/before/subagents.py:28
↓ 3 callers
Function
_cell
(r: dict, agent: str)
agent-decomposition/evals/report.py:18
↓ 3 callers
Function
_close_logger
(ctx)
agent-battle/my_agent.py:854
↓ 3 callers
Function
_expected_value
(spec: dict)
agent-decomposition/evals/graders.py:62
↓ 3 callers
Function
_latest_stock
()
agent-decomposition/evals/graders.py:33
↓ 3 callers
Function
_latest_stock
()
agent-decomposition/agents/sandbox_tools.py:65
↓ 3 callers
Function
_latest_stock
()
agent-decomposition/agents/before/tools.py:34
↓ 3 callers
Function
_modal
(r: dict, agent: str)
agent-decomposition/evals/report.py:31
↓ 3 callers
Function
_offline
(fn: str)
ship-your-first-managed-agent/provided.py:43
↓ 3 callers
Function
_sales_mean
(sku: str, days: int = 90)
agent-decomposition/evals/graders.py:52
↓ 3 callers
Function
_serialize
(obj)
agent-decomposition/agents/cma.py:596
↓ 3 callers
Function
_xyz
(d: Any)
agent-battle/harness/client.py:27
↓ 3 callers
Method
call
(key, name, args, timeoutMs = CALL_TIMEOUT_MS)
agent-battle/event/lib/relay.mjs:233
↓ 3 callers
Function
chart
(metric_name: str, title: str, yfmt: str | None = None)
ship-your-first-managed-agent/pages/1_Metrics.py:31
↓ 3 callers
Function
checkMilestones
()
agent-battle/bot/bot.js:845
↓ 3 callers
Function
clampInt
( raw: string | null, fallback: number, min: number, max: number )
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:703
↓ 3 callers
Function
ensure_agent
Create or update a CMA agent by name. `slot` is e.g. 'starter'.
agent-decomposition/agents/cma.py:140
↓ 3 callers
Method
flush
()
agent-battle/event/lib/board.mjs:85
↓ 3 callers
Function
gotoBlock
(block, range = 2)
agent-battle/bot/bot.js:320
↓ 3 callers
Function
load_ids
()
agent-decomposition/agents/cma.py:56
↓ 3 callers
Function
mcpRequest
(path, method, params, id = 1, extraHeaders = {})
agent-battle/event/test/smoke.mjs:56
↓ 3 callers
Function
mountMcp
(path, buildServer, rateKeyFn)
agent-battle/event/server.mjs:322
↓ 3 callers
Function
newRecord
(ticker: string)
research-desk/solutions/src/lib/analysis.ts:41
↓ 3 callers
Function
newRecord
(ticker: string)
research-desk/src/lib/analysis.ts:46
next →
1–100 of 761, ranked by callers