He caught that career-best 55-yard touchdown and ran for 119 yards in his first 100-yard game of 2014, leading San Francisco past Philadelphia 26-21 on Sunday to hand the Eagles their first loss.
"I don't think I've ever had one quite like that," Kaepernick said. "It was a great job by Frank."
"Great job by Kap," Gore offered, standing next to his quarterback on the postgame podium.
"Kap did a great job keeping his eyes up field. I had no idea. When he stopped, pulled it up and started to throw, I didn't know where he was going with the ball," Harbaugh said. "The speed, the angle, the way he got into the end zone was something. I didn't think he was going to get it in."
Regardless, the 49ers got Gore involved in the offense again, and it returned them to their winning ways. Hard-nosed defense helped, too.
At least for one Sunday, it seems the Niners reclaimed their offensive identity and defensive swagger.
The 49ers (2-2) avoided their first three-game losing streak under Harbaugh, containing the league's top passer.
"We just didn't execute, it's as simple as that," Foles said. "I'm not going to break it down or anything."
Gore's score on the first play of the second quarter was the longest TD catch by a running back this season.
"It was an improvisational play, but that's one of his strengths," Eagles defensive coordinator Bill Davis said of Kaepernick. "It's the skill set that he possesses. He's able to make plays like that happen."
But on San Francisco's next series, Kaepernick threw right to Jenkins and he broke three tackles on the way to the end zone.
The 49ers won their first game at new Levi's Stadium, where thousands of fans skipped out at halftime.
San Francisco outgained the Eagles 232-73 in the first half, but still trailed 21-13. Then Johnson tiptoed both feet inbounds inside the left pylon in the third quarter for a 12-yard catch, the first second-half TD of the season for San Francisco after it had been outscored 52-3 after halftime in the first three games.
Dawson kicked a 51-yarder before halftime, but the NFL's most-penalized team hurt itself with seven more flags for 60 yards in the first half and 10 total for 80 yards - but none on defense. The Eagles also had 10 penalties for 70.
San Francisco right tackle Anthony Davis made his season debut but went down on the final play of the first quarter when Kaepernick took a sack right into the back of Davis' left knee.
Tight end Vernon Davis was sidelined with a back injury early in the third quarter and he was still experiencing spasms after the game, though an X-ray was negative. Davis missed last Sunday's loss at Arizona with a hurting left ankle.
Foles was 21 for 43 for 195 yards and two interceptions.