@@ -48,7 +48,7 @@ func (a AgentService) ListSkills(req dto.AgentIDReq) ([]dto.AgentSkillItem, erro
4848 if err := ensureContainerRunning (install .ContainerName ); err != nil {
4949 return nil , err
5050 }
51- output , err := runDockerExecWithStdout (60 * time .Second , install .ContainerName , "sh" , "-c" , "openclaw skills list --json 2>&1" )
51+ output , err := runDockerExecWithStdout (5 * time .Minute , install .ContainerName , "sh" , "-c" , "openclaw skills list --json 2>&1" )
5252 if err != nil {
5353 return nil , err
5454 }
@@ -153,10 +153,10 @@ func parseOpenclawSkillsList(output string) ([]dto.AgentSkillItem, error) {
153153func loadOpenclawSkillSearchOutput (containerName , source , keyword string ) (string , error ) {
154154 switch source {
155155 case "skillhub" :
156- return runDockerExecWithStdout (60 * time .Second , containerName , "skillhub" , "search" , keyword , "--json" )
156+ return runDockerExecWithStdout (2 * time .Minute , containerName , "skillhub" , "search" , keyword , "--json" )
157157 default :
158158 return runDockerExecWithStdout (
159- 60 * time .Second ,
159+ 2 * time .Minute ,
160160 containerName ,
161161 "sh" ,
162162 "-c" ,
@@ -238,7 +238,7 @@ func resolveClawhubRegistry(source string) string {
238238}
239239
240240func getOpenclawSkillKey (containerName , name string ) (string , error ) {
241- output , err := runDockerExecWithStdout (60 * time .Second , containerName , "sh" , "-c" , fmt .Sprintf ("openclaw skills info %q --json 2>&1" , name ))
241+ output , err := runDockerExecWithStdout (2 * time .Minute , containerName , "sh" , "-c" , fmt .Sprintf ("openclaw skills info %q --json 2>&1" , name ))
242242 if err != nil {
243243 return "" , err
244244 }
0 commit comments