list() — anthropic-sdk-python Function Reference
Architecture documentation for the list() function in skills.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD cb7ea198_1cf9_7468_c1b6_265fcf0ac99f["list()"] a066815a_19f8_2563_67f3_466b1e29bc2d["Skills"] cb7ea198_1cf9_7468_c1b6_265fcf0ac99f -->|defined in| a066815a_19f8_2563_67f3_466b1e29bc2d c1b8f59e_73c8_127e_c8d3_d09a895ec302["list()"] c1b8f59e_73c8_127e_c8d3_d09a895ec302 -->|calls| cb7ea198_1cf9_7468_c1b6_265fcf0ac99f c1b8f59e_73c8_127e_c8d3_d09a895ec302["list()"] cb7ea198_1cf9_7468_c1b6_265fcf0ac99f -->|calls| c1b8f59e_73c8_127e_c8d3_d09a895ec302 style cb7ea198_1cf9_7468_c1b6_265fcf0ac99f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/anthropic/resources/beta/skills/skills.py lines 197–270
def list(
self,
*,
limit: int | Omit = omit,
page: Optional[str] | Omit = omit,
source: Optional[str] | Omit = omit,
betas: List[AnthropicBetaParam] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncPageCursor[SkillListResponse]:
"""
List Skills
Args:
limit: Number of results to return per page.
Maximum value is 100. Defaults to 20.
page: Pagination token for fetching a specific page of results.
Pass the value from a previous response's `next_page` field to get the next page
of results.
source: Filter skills by source.
If provided, only skills from the specified source will be returned:
- `"custom"`: only return user-created skills
- `"anthropic"`: only return Anthropic-created skills
betas: Optional header to specify the beta version(s) you want to use.
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
extra_body: Add additional JSON properties to the request
timeout: Override the client-level default timeout for this request, in seconds
"""
extra_headers = {
**strip_not_given(
{
"anthropic-beta": ",".join(chain((str(e) for e in betas), ["skills-2025-10-02"]))
if is_given(betas)
else not_given
}
),
**(extra_headers or {}),
}
extra_headers = {"anthropic-beta": "skills-2025-10-02", **(extra_headers or {})}
return self._get_api_list(
"/v1/skills?beta=true",
page=SyncPageCursor[SkillListResponse],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
query=maybe_transform(
{
"limit": limit,
"page": page,
"source": source,
},
skill_list_params.SkillListParams,
),
),
model=SkillListResponse,
)
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does list() do?
list() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/resources/beta/skills/skills.py.
Where is list() defined?
list() is defined in src/anthropic/resources/beta/skills/skills.py at line 197.
What does list() call?
list() calls 1 function(s): list.
What calls list()?
list() is called by 1 function(s): list.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free