4 ms·
That's where my confusion is. How is this pattern similar to MCP? Can it also authenticate against 3rd party apis, similar to MCP?
by codybontecou 1y ago
That's where my confusion is.
How is this pattern similar to MCP? Can it also authenticate against 3rd party apis, similar to MCP?
- simonw 1y agoIf you want to call a third party API from a skill you can use instructions like this: To access the GitHub API, use curl to make requests to api.GitHub.com and pass the GITHUB_API_KEY environment variable in the Authorization: Bearer header
- ugh123 1y agoThe "everything is a prompt" thing is interesting, but do we lose some deterministic behavior of MCP plumbing and execution for when the LLM simply doesn't want to follow the 'rules' and possibly hallucinates while processing the skill prompt? How do we make it consistent?
- re5i5tor 1y agoSimon, this won't work, will it? The code execution environment can reach the internet?
- simonw 1y agoIt can if you are running it through Claude Code on your own machine. The https://claude.ai https://claude.ai environment has very limited network access - it can install packages from PyPI and NPM and clone repositories from github.com but it can't access any other domain, including api.github.com.
- re5i5tor 1y ago;-) Confirmed by trying. I'm working on an AI-frontend "documents-as-code" tool, and having this as a skill that works across all Claude surfaces would be a huge win. Unfortunately it looks like that's not gonna happen today because ^^ ... Looks like Claude Desktop and/or Claude Code + a non-big-fat-pig MCP (aka "not GitHub's official version") will be needed. Here's hoping that Anthropic solves "safe external access / auth from code execution tool" soon. EDIT - add last sentence
- re5i5tor 1y agoI NOW UNDERSTAND