AskHN:使用“claude -p”运行 Mr.Jassy - AWS 助手代理
2 分•作者: anoop_kumar•3 个月前
我正在尝试将 Mr. Jassy 设置为一个 Slack 机器人应用。我希望 Mr. Jassy 成为我们个人的 AWS 管家。Mr. Jassy 拥有对 AWS 资源的只读访问权限,可以帮助团队解答问题。目前的设置方式是,我在 Lambda 函数内部运行 `claude -p`,然后由 Slack 事件触发。这是正确的方法吗,还是有更好的方式?我还通过恢复之前的会话来维护线程上下文。
查看原文
I am trying to setup Mr.Jassy as a Slackbot app. I want Mr. Jassy to be our personal AWS butler. Mr.Jassy has access to AWS resources in read only and can help the team answer questions. The way its setup now is that I run 'claude -p' from inside a lambda and is invoked by slack events. Is this the right approach or is there a better way to do this? I also maintain thread context by resuming a previous session.