Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-quickstarts
/ functions
Functions
710 in github.com/anthropics/claude-quickstarts
⨍
Functions
710
◇
Types & classes
123
↳
Endpoints
40
↓ 1 callers
Method
_should_skip_message
Check if message should be skipped from rendering. Args: message: The message to check Returns: True if the
browser-use-demo/browser_use_demo/message_renderer.py:93
↓ 1 callers
Method
_str_replace
(self, target: Path, old: str | None, new: str | None)
computer-use-best-practices/computer_use/tools/editor.py:138
↓ 1 callers
Function
_stream_and_render
Open a streaming message call, print deltas as they arrive, and return the assembled final message (anthropic.types.Message, or BetaMessage when
computer-use-best-practices/computer_use/loop.py:241
↓ 1 callers
Function
_stu
A server_tool_use block as the SDK would return it (an object, not a dict).
computer-use-best-practices/tests/test_advisor.py:10
↓ 1 callers
Function
_terminal_app
Best-effort name of the GUI app this process is running under, so the user knows which row to enable in the permission list.
computer-use-best-practices/computer_use/preflight.py:33
↓ 1 callers
Function
_type_text
Layout-independent typing. pyautogui.write() sends hardcoded ANSI virtual keycodes (physical key positions on a US QWERTY board), which macOS
computer-use-best-practices/computer_use/tools/computer.py:102
↓ 1 callers
Method
_view
(self, target: Path, view_range: list[int] | None)
computer-use-best-practices/computer_use/tools/editor.py:103
↓ 1 callers
Method
_wait
Wait for a specified duration.
browser-use-demo/browser_use_demo/tools/browser.py:1068
↓ 1 callers
Method
_write_file
Write content to a file.
agents/tools/file_tools.py:214
↓ 1 callers
Method
_zoom_screenshot
Take a screenshot of a specific region.
browser-use-demo/browser_use_demo/tools/browser.py:374
↓ 1 callers
Function
bash_security_hook
Pre-tool-use hook that validates bash commands using an allowlist. Only commands in ALLOWED_COMMANDS are permitted. Args: input
autonomous-coding/security.py:297
↓ 1 callers
Function
build_system_prompt
(scratch_dir: Path | None)
computer-use-best-practices/computer_use/__main__.py:49
↓ 1 callers
Method
call_tool
Call a tool on the MCP server with provided arguments.
agents/utils/connections.py:55
↓ 1 callers
Function
check_and_warn
(*, require: bool = True, open_settings: bool = True)
computer-use-best-practices/computer_use/preflight.py:105
↓ 1 callers
Function
chunks
(s: str, chunk_size: int)
computer-use-demo/computer_use_demo/tools/computer.py:84
↓ 1 callers
Function
copy_spec_to_project
Copy the app spec file into the project directory for the agent to read.
autonomous-coding/prompts.py:31
↓ 1 callers
Function
count_passing_tests
Count passing and total tests in feature_list.json. Args: project_dir: Directory containing feature_list.json Returns:
autonomous-coding/progress.py:12
↓ 1 callers
Function
create_client
Create a Claude Agent SDK client with multi-layered security. Args: project_dir: Directory for the project model: Claude mod
autonomous-coding/client.py:40
↓ 1 callers
Function
create_mcp_connection
Factory function to create the appropriate MCP connection.
agents/utils/connections.py:93
↓ 1 callers
Function
create_transcript_zip
Create a ZIP archive containing the transcript and optionally images. Args: messages: List of message dictionaries from session state
browser-use-demo/browser_use_demo/streamlit.py:113
↓ 1 callers
Function
debugMessage
(msg: string, data: any = {})
customer-support-agent/app/api/chat/route.ts:14
↓ 1 callers
Function
decodeDebugData
(response: Response)
customer-support-agent/components/ChatArea.tsx:386
↓ 1 callers
Function
dismiss
()
financial-data-analyst/hooks/use-toast.ts:153
↓ 1 callers
Method
execute
(self, **kwargs: Any)
computer-use-best-practices/computer_use/tools/base.py:64
↓ 1 callers
Method
execute
(self, **kwargs: Any)
computer-use-best-practices/computer_use/tools/computer.py:248
↓ 1 callers
Method
execute
Execute the tool with provided parameters.
agents/tools/base.py:23
↓ 1 callers
Function
execute_tools
Execute multiple tools sequentially or in parallel.
agents/utils/tool_util.py:27
↓ 1 callers
Function
extract_images_from_messages
Extract images from messages and create transcript with file references. Returns: Tuple of (transcript_json, list_of_base64_image_data)
browser-use-demo/browser_use_demo/streamlit.py:238
↓ 1 callers
Method
format_for_api
Format messages for Claude API with optional caching.
agents/utils/history_util.py:113
↓ 1 callers
Function
genId
()
financial-data-analyst/hooks/use-toast.ts:30
↓ 1 callers
Function
getDebugPillColor
(value: boolean)
customer-support-agent/components/LeftSidebar.tsx:27
↓ 1 callers
Function
getMoodColor
(mood: string)
customer-support-agent/components/LeftSidebar.tsx:33
↓ 1 callers
Function
getScoreColor
(score: number)
customer-support-agent/components/RightSidebar.tsx:37
↓ 1 callers
Function
get_coding_prompt
Load the coding agent prompt.
autonomous-coding/prompts.py:26
↓ 1 callers
Function
get_command_for_validation
Find the specific command segment that contains the given command. Args: cmd: The command name to find segments: List of com
autonomous-coding/security.py:279
↓ 1 callers
Method
get_documented_size_for_aspect_ratio
Get the documented size for the given viewport's aspect ratio. Args: viewport_width: Actual viewport width v
browser-use-demo/browser_use_demo/tools/coordinate_scaling.py:36
↓ 1 callers
Function
get_initializer_prompt
Load the initializer prompt.
autonomous-coding/prompts.py:21
↓ 1 callers
Function
handleThemeChange
(newColorTheme: ThemeName)
customer-support-agent/components/TopNavBar.tsx:71
↓ 1 callers
Function
handleViewFullSource
(source: RAGSource)
customer-support-agent/components/RightSidebar.tsx:123
↓ 1 callers
Function
image_block
(b64_jpeg: str)
computer-use-best-practices/computer_use/tools/result.py:16
↓ 1 callers
Function
isContainerElement
(element)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:319
↓ 1 callers
Function
isSemantic
(element)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:213
↓ 1 callers
Function
isVisible
(element)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:180
↓ 1 callers
Method
list_tools
Retrieve available tools from the MCP server.
agents/utils/connections.py:50
↓ 1 callers
Function
logTimestamp
(label: string, start: number)
customer-support-agent/app/api/chat/route.ts:57
↓ 1 callers
Function
main
Main application entry point.
browser-use-demo/browser_use_demo/streamlit.py:531
↓ 1 callers
Function
main
Render loop for streamlit
computer-use-demo/computer_use_demo/streamlit.py:244
↓ 1 callers
Function
main
()
autonomous-coding/test_security.py:154
↓ 1 callers
Function
main
Main entry point.
autonomous-coding/autonomous_agent_demo.py:75
↓ 1 callers
Function
main
()
computer-use-best-practices/computer_use/__main__.py:58
↓ 1 callers
Function
main
Run the test suite.
agents/test_message_params.py:256
↓ 1 callers
Function
maybe_add_interruption_blocks
()
computer-use-demo/computer_use_demo/streamlit.py:456
↓ 1 callers
Function
parse_args
Parse command line arguments.
autonomous-coding/autonomous_agent_demo.py:27
↓ 1 callers
Function
print_session_header
Print a formatted header for the session.
autonomous-coding/progress.py:39
↓ 1 callers
Function
processElement
(element, depth, options)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:347
↓ 1 callers
Function
processToolResponse
(toolUseContent: any)
financial-data-analyst/app/api/finance/route.ts:353
↓ 1 callers
Function
process_content
Process content using appropriate processors.
browser-use-demo/browser_use_demo/streamlit.py:254
↓ 1 callers
Method
process_text_content
Process text content type.
browser-use-demo/browser_use_demo/streamlit.py:198
↓ 1 callers
Function
readFileAsBase64
(file: File)
financial-data-analyst/utils/fileHandling.ts:22
↓ 1 callers
Function
readFileAsPDFText
(file: File)
financial-data-analyst/utils/fileHandling.ts:38
↓ 1 callers
Function
readFileAsText
(file: File)
financial-data-analyst/utils/fileHandling.ts:2
↓ 1 callers
Function
reducer
(state: State, action: Action)
financial-data-analyst/hooks/use-toast.ts:77
↓ 1 callers
Function
reset_browser
()
browser-use-demo/browser_use_demo/streamlit.py:671
↓ 1 callers
Function
retrieveContext
( query: string, knowledgeBaseId: string, n: number = 3, )
customer-support-agent/app/lib/utils.ts:31
↓ 1 callers
Method
run
(self, *, name: str, tool_input: dict[str, Any])
computer-use-demo/computer_use_demo/tools/collection.py:29
↓ 1 callers
Function
run_agent
Run the browser automation agent with user input.
browser-use-demo/browser_use_demo/streamlit.py:442
↓ 1 callers
Function
run_agent_session
Run a single agent session using Claude Agent SDK. Args: client: Claude SDK client message: The prompt to send proje
autonomous-coding/agent.py:23
↓ 1 callers
Method
run_all_tests
Run all test cases.
agents/test_message_params.py:230
↓ 1 callers
Method
run_async
Run agent with MCP tools asynchronously.
agents/agent.py:157
↓ 1 callers
Function
run_autonomous_agent
Run the autonomous agent loop. Args: project_dir: Directory for the project model: Claude model to use max_iteration
autonomous-coding/agent.py:97
↓ 1 callers
Function
run_server
()
browser-use-demo/image/http_server.py:10
↓ 1 callers
Function
run_server
()
computer-use-demo/image/http_server.py:10
↓ 1 callers
Function
sampling_loop
Run the agent. Each user message gets up to ``max_iters`` model turns. When ``interactive`` is true, the loop prompts for a follow-up after the
computer-use-best-practices/computer_use/loop.py:331
↓ 1 callers
Function
sanitizeAndParseJSON
(jsonString : string)
customer-support-agent/app/api/chat/route.ts:198
↓ 1 callers
Method
save_image
(self, b64: str)
computer-use-best-practices/computer_use/trajectory.py:35
↓ 1 callers
Function
scrollToChart
(index: number)
financial-data-analyst/app/finance/page.tsx:257
↓ 1 callers
Function
setup_mcp_connections
Set up MCP server connections and create tool interfaces.
agents/utils/connections.py:117
↓ 1 callers
Function
shouldIncludeElement
(element, options)
browser-use-demo/browser_use_demo/browser_tool_utils/browser_dom_script.js:235
↓ 1 callers
Function
split_command_segments
Split a compound command into individual command segments. Handles command chaining (&&, ||, ;) but not pipes (those are single commands).
autonomous-coding/security.py:47
↓ 1 callers
Method
str_replace
Implement the str_replace command, which replaces old_str with new_str in the file content
computer-use-demo/computer_use_demo/tools/edit.py:160
↓ 1 callers
Method
take_screenshot
(self)
computer-use-best-practices/computer_use/tools/computer.py:229
↓ 1 callers
Function
test_extract_commands
Test the command extraction logic.
autonomous-coding/test_security.py:44
↓ 1 callers
Function
test_validate_chmod
Test chmod command validation.
autonomous-coding/test_security.py:72
↓ 1 callers
Function
test_validate_init_script
Test init.sh script execution validation.
autonomous-coding/test_security.py:115
↓ 1 callers
Method
to_dict
Convert tool to Claude API format.
agents/tools/base.py:15
↓ 1 callers
Method
to_params
Convert all tools to API parameters.
browser-use-demo/browser_use_demo/tools/collection.py:15
↓ 1 callers
Function
track_sampling_loop
()
computer-use-demo/computer_use_demo/streamlit.py:481
↓ 1 callers
Method
truncate
Remove oldest messages when context window limit is exceeded.
agents/utils/history_util.py:69
↓ 1 callers
Function
useToast
()
financial-data-analyst/hooks/use-toast.ts:174
↓ 1 callers
Function
validate_auth
(provider: APIProvider, api_key: str | None)
computer-use-demo/computer_use_demo/streamlit.py:487
↓ 1 callers
Function
validate_env
Validate required environment variables are set.
browser-use-demo/validate_env.py:19
↓ 1 callers
Function
validate_pkill_command
Validate pkill commands - only allow killing dev-related processes. Uses shlex to parse the command, avoiding regex bypass vulnerabilities.
autonomous-coding/security.py:161
↓ 1 callers
Method
view
Implement the view command
computer-use-demo/computer_use_demo/tools/edit.py:113
Function
AIChat
()
financial-data-analyst/app/finance/page.tsx:197
Function
AreaChartComponent
({ data, stacked, }: { data: ChartData; stacked?: boolean; })
financial-data-analyst/components/ChartRenderer.tsx:310
Function
Badge
({ className, variant, ...props }: BadgeProps)
financial-data-analyst/components/ui/badge.tsx:30
Function
BarChartComponent
({ data }: { data: ChartData })
financial-data-analyst/components/ChartRenderer.tsx:33
Function
ChartPagination
({ total, current, onDotClick, }: { total: number; current: number; onDotClick: (index: number) =>
financial-data-analyst/app/finance/page.tsx:173
Function
ChartRenderer
({ data }: { data: ChartData })
financial-data-analyst/components/ChartRenderer.tsx:391
Function
ChartStyle
({ id, config }: { id: string; config: ChartConfig })
financial-data-analyst/components/ui/chart.tsx:75
← previous
next →
201–300 of 710, ranked by callers