MCPcopy Create free account

hub / github.com/anthropics/cwc-workshops / functions

Functions761 in github.com/anthropics/cwc-workshops

↓ 53 callersFunctioncheck
(name, cond, detail = '')
agent-battle/event/test/smoke.mjs:32
↓ 33 callersMethodhas
True if inventory contains at least n of `name`.
agent-battle/harness/client.py:70
↓ 30 callersFunctionlogEvent
(level: "info" | "warning" | "error", event: string, fields: Record<string, unknown> = {})
research-desk/src/lib/logger.ts:21
↓ 28 callersFunctioncn
(...inputs: ClassValue[])
production-ready-agent/solution/lib/utils.ts:4
↓ 28 callersFunctioncn
(...inputs: ClassValue[])
production-ready-agent/starter/lib/utils.ts:4
↓ 26 callersMethodclose
(self)
agent-battle/harness/logging_.py:249
↓ 23 callersFunctionopen
(path: string)
research-desk/src/components/MemoryPanel.tsx:46
↓ 21 callersMethodstatus
()
agent-battle/event/lib/relay.mjs:262
↓ 19 callersFunctionloadConfig
()
research-desk/src/lib/config.ts:55
↓ 19 callersFunctionpost
(path, body, headers = wkHdr)
agent-battle/event/test/smoke.mjs:44
↓ 18 callersFunctiongetClient
()
research-desk/src/lib/anthropic.ts:24
↓ 16 callersFunctionloadPrompt
(name: string, substitutions: Record<string, string> = {})
research-desk/src/lib/prompts.ts:11
↓ 15 callersFunctionemit
(buf: list, ts: datetime, **fields)
ship-your-first-managed-agent/data/generate_log.py:48
↓ 14 callersFunctionget
(path, headers = {})
agent-battle/event/test/smoke.mjs:49
↓ 13 callersFunctionhandle
(routeName: string, fn: () => Promise<unknown>)
research-desk/src/app/api/api-route.ts:12
↓ 12 callersFunction_t
(name: str, desc: str, props: dict, required: list[str])
agent-decomposition/agents/before/tools.py:174
↓ 11 callersFunctioncmd
(s)
agent-battle/bot/bot.js:699
↓ 10 callersFunction_state
Build a minimal /state-shaped dict with sensible defaults.
agent-battle/harness/probes.py:42
↓ 10 callersFunctionload
()
production-ready-agent/starter/components/ChatPanel.tsx:85
↓ 9 callersFunctionlink
(label: string, kind: ConsoleResourceKind, id: string)
research-desk/src/app/api/desk/status/route.ts:28
↓ 9 callersFunctionvalidateScorecard
(payload: unknown)
research-desk/src/lib/scorecard.ts:73
↓ 8 callersFunction_read_csv
(name: str)
agent-decomposition/agents/sandbox_tools.py:47
↓ 8 callersMethodrender
(self)
agent-battle/harness/prompts.py:101
↓ 8 callersFunctionreportAchievement
(kind, id)
agent-battle/bot/bot.js:799
↓ 8 callersFunctionsaveConfig
(config: DeskConfig)
research-desk/src/lib/config.ts:65
↓ 8 callersFunctionsessionUrl
(sessionId: string)
research-desk/src/lib/config.ts:116
↓ 7 callersFunction_safe
Strip characters outside a conservative allowlist before interpolating free-text CSV fields into subagent prompts.
agent-decomposition/agents/sandbox_tools.py:41
↓ 7 callersFunctionmcpInitThenCall
(path, callName, callArgs, extraHeaders = {})
agent-battle/event/test/smoke.mjs:75
↓ 7 callersFunctionrateLimit
(cls, keyFn = (req) => req.ip)
agent-battle/event/server.mjs:181
↓ 7 callersMethodsave
()
agent-battle/event/lib/board.mjs:75
↓ 7 callersFunctionwrite
(e)
production-ready-agent/solution/lib/sse.ts:20
↓ 6 callersFunction_read_csv
(name: str)
agent-decomposition/agents/before/tools.py:20
↓ 6 callersMethod_write
(self, obj: dict)
agent-battle/harness/logging_.py:120
↓ 6 callersFunctionapi
(path: string, init: RequestInit = {})
research-desk/src/lib/client-types.ts:50
↓ 6 callersFunctioncheck
(name, ok, detail = '')
agent-battle/event/test/live-verify.mjs:10
↓ 6 callersFunctioncountShapes
* 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 callersFunctiondisposeInner
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 callersFunctionedgarIdentity
()
research-desk/src/lib/config.ts:81
↓ 6 callersFunctionenv
(k: string)
production-ready-agent/solution/lib/anthropic.ts:22
↓ 6 callersFunctionenv
(k: string)
production-ready-agent/starter/lib/anthropic.ts:22
↓ 6 callersFunctionmcp
(path, method, params, id, headers = {})
agent-battle/event/test/live-verify.mjs:12
↓ 6 callersMethodnote_usage
(self, usage: Any)
agent-battle/harness/logging_.py:130
↓ 6 callersFunctionpatch
(rel, replacements)
agent-battle/bot/patch-viewer.cjs:17
↓ 6 callersFunctionsetState
(s: RecorderState, err?: string)
how-we-claude-code/phase-3-verify/src/verify/harness/recorder.ts:53
↓ 6 callersFunctionsleep
(ms)
agent-battle/bot/bot.js:504
↓ 6 callersFunctionstub
(label: string, hint: string)
production-ready-agent/starter/lib/anthropic.ts:39
↓ 6 callersFunctiontype
(selector, text)
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:195
↓ 5 callersFunction_now
()
agent-battle/harness/logging_.py:31
↓ 5 callersMethodact
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 callersFunctionagent_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 callersFunctionallUnits
()
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:40
↓ 5 callersFunctionavg
(xs: number[])
eval-driven-agent-development/src/graders/judge/judge.ts:17
↓ 5 callersFunctionp
(n: number)
how-we-claude-code/phase-3-verify/scripts/record.ts:122
↓ 5 callersFunctionqueryParams
(request: Request)
research-desk/src/app/api/api-route.ts:31
↓ 5 callersFunctionregisterUnit
(unit: VerifiableUnit<P>)
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:17
↓ 5 callersFunctionrejectCrossSite
(request: Request)
research-desk/src/app/api/api-route.ts:41
↓ 5 callersMethodsessionWindow
()
agent-battle/event/lib/board.mjs:131
↓ 5 callersFunctionverifyAttrs
( attrs: Record<string, string | number | boolean | null | undefined> )
how-we-claude-code/phase-3-verify/src/verify/core/contract.ts:20
↓ 5 callersFunctionwrite_csv
(path: Path, rows: list[dict])
agent-decomposition/data/seed.py:233
↓ 4 callersFunction_append_jsonl
(name: str, record: dict)
agent-decomposition/agents/sandbox_tools.py:59
↓ 4 callersFunction_append_jsonl
(name: str, record: dict)
agent-decomposition/agents/before/tools.py:25
↓ 4 callersFunction_simulate_subagent_latency
Stand-in for the original anthropic.messages.create() round-trip.
agent-decomposition/agents/sandbox_tools.py:71
↓ 4 callersFunction_text
(content)
ship-your-first-managed-agent/provided.py:82
↓ 4 callersFunctionalert_banner
()
ship-your-first-managed-agent/ui.py:15
↓ 4 callersFunctionchat_panel
()
ship-your-first-managed-agent/provided.py:88
↓ 4 callersFunctioncsvCell
(value: unknown)
research-desk/src/lib/scorecard.ts:127
↓ 4 callersFunctiondisposeInner
(inner: { root: Root; container: HTMLElement })
how-we-claude-code/phase-3-verify/src/verify/harness/UnitPage.tsx:173
↓ 4 callersMethodformat
Optional display formatter for numeric results (default: String(v)).
eval-driven-agent-development/src/graders/types.ts:27
↓ 4 callersFunctionisClean
(text)
agent-battle/event/lib/moderation.mjs:41
↓ 4 callersFunctionmcData
()
agent-battle/bot/bot.js:264
↓ 4 callersFunctionms
(since: number)
how-we-claude-code/phase-3-verify/src/verify/core/runner.ts:179
↓ 4 callersFunctionpreviewRequest
( method: "GET" | "POST", path: string, options: { query?: Record<string, string>; body?: unknown } = {}
research-desk/src/lib/preview.ts:28
↓ 4 callersFunctionregisterVerifier
(verifier: Verifier)
how-we-claude-code/phase-3-verify/src/verify/core/registry.ts:26
↓ 4 callersFunctionsave_ids
(ids: dict)
agent-decomposition/agents/cma.py:60
↓ 4 callersFunctionscore
(results: list[dict])
agent-decomposition/evals/run.py:37
↓ 4 callersFunctionwrite
(e)
production-ready-agent/starter/lib/sse.ts:20
↓ 3 callersFunction_call
(system: str, user: str, max_tokens: int = 1024)
agent-decomposition/agents/before/subagents.py:28
↓ 3 callersFunction_cell
(r: dict, agent: str)
agent-decomposition/evals/report.py:18
↓ 3 callersFunction_close_logger
(ctx)
agent-battle/my_agent.py:854
↓ 3 callersFunction_expected_value
(spec: dict)
agent-decomposition/evals/graders.py:62
↓ 3 callersFunction_latest_stock
()
agent-decomposition/evals/graders.py:33
↓ 3 callersFunction_latest_stock
()
agent-decomposition/agents/sandbox_tools.py:65
↓ 3 callersFunction_latest_stock
()
agent-decomposition/agents/before/tools.py:34
↓ 3 callersFunction_modal
(r: dict, agent: str)
agent-decomposition/evals/report.py:31
↓ 3 callersFunction_offline
(fn: str)
ship-your-first-managed-agent/provided.py:43
↓ 3 callersFunction_sales_mean
(sku: str, days: int = 90)
agent-decomposition/evals/graders.py:52
↓ 3 callersFunction_serialize
(obj)
agent-decomposition/agents/cma.py:596
↓ 3 callersFunction_xyz
(d: Any)
agent-battle/harness/client.py:27
↓ 3 callersMethodcall
(key, name, args, timeoutMs = CALL_TIMEOUT_MS)
agent-battle/event/lib/relay.mjs:233
↓ 3 callersFunctionchart
(metric_name: str, title: str, yfmt: str | None = None)
ship-your-first-managed-agent/pages/1_Metrics.py:31
↓ 3 callersFunctioncheckMilestones
()
agent-battle/bot/bot.js:845
↓ 3 callersFunctionclampInt
( raw: string | null, fallback: number, min: number, max: number )
how-we-claude-code/phase-3-verify/src/verify/harness/ReplayPage.tsx:703
↓ 3 callersFunctionensure_agent
Create or update a CMA agent by name. `slot` is e.g. 'starter'.
agent-decomposition/agents/cma.py:140
↓ 3 callersMethodflush
()
agent-battle/event/lib/board.mjs:85
↓ 3 callersFunctiongotoBlock
(block, range = 2)
agent-battle/bot/bot.js:320
↓ 3 callersFunctionload_ids
()
agent-decomposition/agents/cma.py:56
↓ 3 callersFunctionmcpRequest
(path, method, params, id = 1, extraHeaders = {})
agent-battle/event/test/smoke.mjs:56
↓ 3 callersFunctionmountMcp
(path, buildServer, rateKeyFn)
agent-battle/event/server.mjs:322
↓ 3 callersFunctionnewRecord
(ticker: string)
research-desk/solutions/src/lib/analysis.ts:41
↓ 3 callersFunctionnewRecord
(ticker: string)
research-desk/src/lib/analysis.ts:46
next →1–100 of 761, ranked by callers